
/* WARNING: Removing unreachable block (ram,0x002a6e44) */
/* WARNING: Enum "ChannelType": Some values do not have unique names */
/* WARNING: Enum "GravityType": Some values do not have unique names */
/* WARNING: Enum "DisposeType": Some values do not have unique names */
/* WARNING: Enum "PixelChannel": Some values do not have unique names */
/* WARNING: Enum "ExceptionType": Some values do not have unique names */

Image * ReadRLEImage(ImageInfo *image_info,ExceptionInfo *exception)

{
  ulonglong uVar1;
  ulonglong uVar2;
  undefined *puVar3;
  int iVar4;
  Image *pIVar5;
  int iVar6;
  ssize_t sVar7;
  size_t sVar8;
  PixelTrait PVar9;
  uint uVar10;
  uint uVar11;
  uint uVar12;
  int iVar13;
  byte *pbVar14;
  uint uVar15;
  uint uVar16;
  byte *pbVar17;
  byte bVar28;
  int iVar18;
  char *pcVar19;
  undefined *puVar20;
  undefined *puVar21;
  undefined4 uVar22;
  byte *pbVar23;
  int iVar24;
  MagickRealType *pMVar25;
  undefined *puVar26;
  undefined4 *puVar27;
  uint uVar29;
  size_t sVar30;
  size_t sVar31;
  PixelInfo *pPVar32;
  float *pfVar33;
  float *pfVar34;
  undefined *puVar35;
  byte *pbVar36;
  byte *pbVar37;
  float *pfVar38;
  undefined *puVar39;
  undefined4 uVar40;
  PixelChannelMap *pPVar41;
  uint uVar42;
  uint uVar43;
  byte *pbVar44;
  Image *pIVar45;
  byte *unaff_s8;
  double dVar46;
  double dVar47;
  double dVar48;
  double dVar49;
  double dVar50;
  longlong lVar51;
  undefined8 uVar52;
  undefined8 uVar53;
  byte *local_1a0;
  ExceptionInfo *local_18c;
  ImageInfo *local_188;
  int local_180;
  uint local_17c;
  byte *local_178;
  int local_164;
  char magick [12];
  uchar background_color [256];
  
  puVar3 = PTR___stack_chk_guard_003a9230;
  iVar4 = *(int *)PTR___stack_chk_guard_003a9230;
  if (image_info == (ImageInfo *)0x0) {
    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)
                                (PTR_LAB_003a88e0 + 0xd78,
                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,
                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);
    return pIVar5;
  }
  if (image_info->signature != 0xabacadab) {
    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)
                                (PTR_LAB_003a88e0 + 0xda0,
                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,
                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);
    return pIVar5;
  }
  if (image_info->debug != MagickFalse) {
    (*(code *)PTR_LogMagickEvent_003a91e0)
              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,
               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,
               PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);
  }
  if (exception == (ExceptionInfo *)0x0) {
    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)
                                (PTR_LAB_003a88e0 + 0x1cac,
                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,
                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);
    return pIVar5;
  }
  if (exception->signature != 0xabacadab) {
    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)
                                (PTR_LAB_003a88e0 + 0x294c,
                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,
                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);
    return pIVar5;
  }
  pIVar5 = (Image *)(*(code *)PTR_AcquireImage_003a960c)(image_info,exception);
  iVar6 = (*(code *)PTR_OpenBlob_003a924c)(image_info,pIVar5,2,exception);
  pbVar14 = unaff_s8;
  if (iVar6 == 0) {
LAB_002a57d0:
    pIVar5 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(pIVar5);
    unaff_s8 = pbVar14;
  }
  else {
    iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);
    puVar20 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;
    if ((iVar6 == 2) && (magick._0_2_ == 0x52cc)) {
      local_178 = (byte *)0x0;
      local_1a0 = (byte *)0x0;
      dVar48 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);
      dVar49 = *(double *)(PTR_LAB_003a88e0 + 0x1400);
      do {
        sVar7 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);
        puVar21 = PTR_ReadBlobLSBShort_003a96fc;
        (pIVar5->page).x = sVar7;
        sVar7 = (*(code *)puVar21)(pIVar5);
        puVar21 = PTR_ReadBlobLSBShort_003a96fc;
        (pIVar5->page).y = sVar7;
        sVar8 = (*(code *)puVar21)(pIVar5);
        puVar21 = PTR_ReadBlobLSBShort_003a96fc;
        pIVar5->columns = sVar8;
        sVar8 = (*(code *)puVar21)(pIVar5);
        puVar21 = PTR_ReadBlobByte_003a97f0;
        pIVar5->rows = sVar8;
        PVar9 = (*(code *)puVar21)(pIVar5);
        pIVar5->alpha_trait = PVar9 & BlendPixelTrait;
        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);
        iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);
        uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);
        uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);
        local_18c = exception;
        local_188 = image_info;
        if (0x15 < (uVar12 & 0xff)) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar40 = 0xee;
LAB_002a6770:
          pcVar19 = image_info->filename;
          puVar20 = PTR_LAB_003a88e0 + 0x3e28;
          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
          puVar21 = PTR_s_courses_003a88ec + -400;
          uVar22 = 0x1a9;
          goto LAB_002a5e2c;
        }
        iVar13 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);
        if (iVar13 != 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          pcVar19 = image_info->filename;
          uVar40 = 0xf0;
          goto LAB_002a6244;
        }
        uVar29 = 1 << (uVar12 & 0x1f);
        if (((uVar10 & 0xfffffffd) == 0) ||
           ((((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||
            (iVar6 != 8)))) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar40 = 0xf5;
          goto LAB_002a6770;
        }
        if (4 < uVar10) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar40 = 0xf7;
          goto LAB_002a6770;
        }
        if ((0x7ffe < pIVar5->columns - 1) || (0x7ffe < pIVar5->rows - 1)) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar40 = 0xfa;
          goto LAB_002a6770;
        }
        if ((PVar9 & UpdatePixelTrait) == UndefinedPixelTrait) {
          pbVar14 = background_color;
          do {
            pbVar17 = pbVar14 + 1;
            bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);
            *pbVar14 = bVar28;
            pbVar14 = pbVar17;
          } while (background_color + uVar10 != pbVar17);
        }
        else {
          pbVar14 = background_color;
          do {
            *pbVar14 = 0;
            pbVar14 = pbVar14 + 1;
          } while (pbVar14 != background_color + uVar10);
          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);
        }
        if ((uVar10 & 1) == 0) {
          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);
        }
        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);
        if (iVar6 != 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          pcVar19 = image_info->filename;
          uVar40 = 0x110;
          goto LAB_002a6244;
        }
        uVar42 = uVar10;
        if (pIVar5->alpha_trait != UndefinedPixelTrait) {
          uVar42 = uVar10 + 1;
        }
        uVar1 = (ulonglong)pIVar5->columns * (ulonglong)pIVar5->rows;
        lVar51 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);
        if (lVar51 == 0) {
LAB_002a6a10:
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar40 = 0x116;
LAB_002a6a54:
          pcVar19 = image_info->filename;
          puVar20 = PTR_LAB_003a88e0 + 0x3e28;
          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
          puVar21 = PTR_s_courses_003a88ec + 0x4a0;
          uVar22 = 0x1a9;
          goto LAB_002a5e2c;
        }
        local_180 = (int)(uVar1 >> 0x20);
        lVar51 = (ulonglong)uVar42 * (uVar1 & 0xffffffff);
        uVar43 = uVar42 * local_180 + (int)((ulonglong)lVar51 >> 0x20);
        uVar52 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);
        uVar52 = (*(code *)PTR___udivdi3_003a89c0)
                           (uVar43 & 0x1fffffff,(int)lVar51,(int)((ulonglong)uVar52 >> 0x20),
                            (int)uVar52);
        if (((int)((ulonglong)uVar52 >> 0x20) != 0) || (0xfe < (uint)uVar52)) goto LAB_002a6a10;
        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);
        if (uVar2 < (ulonglong)uVar11 * (ulonglong)uVar29) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar40 = 0x118;
          goto LAB_002a6a54;
        }
        if (uVar11 != 0) {
          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)
                                        (uVar11,3 << (uVar12 & 0x1f));
          if (local_178 == (byte *)0x0) {
            if (local_1a0 != (byte *)0x0) {
              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
            }
            uVar40 = 0x121;
            goto LAB_002a705c;
          }
          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar11 << (uVar12 & 0x1f)) * 3);
          unaff_s8 = local_178;
          if ((int)uVar11 < 1) {
            uVar10 = 0;
          }
          else {
            dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);
            uVar15 = 0;
            do {
              pbVar17 = unaff_s8 + uVar29;
              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);
              pbVar14 = unaff_s8;
              do {
                unaff_s8 = pbVar14 + 1;
                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);
                puVar21 = PTR_EOFBlob_003a9748;
                if ((float)iVar6 <= 0.0) {
                  bVar28 = 0;
                }
                else if ((double)iVar6 / dVar48 < dVar50) {
                  dVar46 = (double)iVar6 / dVar48 + dVar49;
                  if (dVar46 < dVar47) {
                    bVar28 = (byte)(int)dVar46;
                  }
                  else {
                    bVar28 = (byte)(int)(dVar46 - dVar47);
                  }
                }
                else {
                  bVar28 = 0xff;
                }
                *pbVar14 = bVar28;
                iVar6 = (*(code *)puVar21)(pIVar5);
                if (iVar6 != 0) {
                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);
                  if (local_1a0 != (byte *)0x0) {
                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
                  }
                  pcVar19 = image_info->filename;
                  uVar40 = 299;
                  goto LAB_002a6244;
                }
                pbVar14 = unaff_s8;
              } while (pbVar17 != unaff_s8);
              uVar15 = uVar15 + 1;
              uVar10 = uVar11;
            } while (uVar11 != uVar15);
          }
        }
        pbVar14 = unaff_s8;
        if (((PVar9 & 8) != UndefinedPixelTrait) &&
           (uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5), uVar15 != 0)) {
          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,1);
          if (unaff_s8 == (byte *)0x0) {
            if (local_178 != (byte *)0x0) {
              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
            }
            if (local_1a0 != (byte *)0x0) {
              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
            }
            uVar40 = 0x13e;
            goto LAB_002a705c;
          }
          iVar13 = uVar15 - 1;
          iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,iVar13,unaff_s8);
          puVar21 = PTR_SetImageProperty_003a9534;
          if (iVar13 != iVar6) goto LAB_002a7380;
          puVar35 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;
          unaff_s8[iVar13] = 0;
          (*(code *)puVar21)(pIVar5,puVar35,unaff_s8,exception);
          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);
          pbVar14 = unaff_s8;
          if ((uVar15 & 1) == 0) {
            (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);
          }
        }
        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);
        unaff_s8 = pbVar14;
        if (iVar6 != 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          pcVar19 = image_info->filename;
          uVar40 = 0x14d;
          goto LAB_002a6244;
        }
        if (((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) &&
           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene)) break;
        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)
                              (pIVar5,pIVar5->columns,pIVar5->rows,exception);
        if (local_164 == 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          goto LAB_002a57d0;
        }
        uVar16 = uVar42 + 1;
        local_17c = (uint)uVar1;
        uVar15 = uVar42;
        if ((uVar42 & 1) != 0) {
          uVar43 = uVar16 * local_180 + (int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20);
          uVar15 = uVar16;
        }
        if (uVar43 != 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar40 = 0x161;
          goto LAB_002a705c;
        }
        uVar43 = 4;
        if (3 < uVar15) {
          uVar43 = uVar15;
        }
        iVar6 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(pIVar5->columns,uVar43 * pIVar5->rows);
        if (iVar6 == 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          uVar40 = 0x165;
          goto LAB_002a705c;
        }
        sVar30 = pIVar5->rows;
        sVar8 = pIVar5->columns;
        pbVar17 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar6);
        (*(code *)PTR_memset_003a96d4)(pbVar17,0,sVar8 * sVar30 * uVar43);
        if ((PVar9 & (UpdatePixelTrait|CopyPixelTrait)) == CopyPixelTrait) {
          uVar43 = 0;
          if ((int)local_17c < 1) {
            uVar10 = 0;
          }
          else {
            pbVar23 = pbVar17;
            do {
              pbVar37 = background_color;
              pbVar44 = pbVar23;
              if (pIVar5->alpha_trait == UndefinedPixelTrait) {
                do {
                  pbVar36 = pbVar37 + 1;
                  *pbVar44 = *pbVar37;
                  pbVar37 = pbVar36;
                  pbVar44 = pbVar44 + 1;
                } while (pbVar36 != background_color + uVar42);
                pbVar37 = pbVar23 + uVar42;
              }
              else {
                if (uVar42 - 1 != 0) {
                  pbVar36 = pbVar23 + (uVar42 - 1);
                  pbVar37 = pbVar23;
                  pbVar44 = background_color;
                  do {
                    bVar28 = *pbVar44;
                    pbVar23 = pbVar37 + 1;
                    pbVar44 = pbVar44 + 1;
                    *pbVar37 = bVar28;
                    pbVar37 = pbVar23;
                  } while (pbVar36 != pbVar23);
                }
                pbVar37 = pbVar23 + 1;
                *pbVar23 = 0;
              }
              uVar43 = uVar43 + 1;
              pbVar23 = pbVar37;
              uVar10 = local_17c;
            } while (local_17c != uVar43);
          }
        }
        uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);
        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;
        if (uVar43 == 0xffffffff) {
          if (uVar11 != 0) {
            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);
          }
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);
          uVar40 = 0x18b;
LAB_002a5df4:
          pcVar19 = image_info->filename;
          puVar20 = PTR_LAB_003a88e0 + 0x3e28;
          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
          puVar21 = PTR_s_courses_003a88ec + -0x17c;
          uVar22 = 0x1a9;
          unaff_s8 = pbVar14;
          goto LAB_002a5e2c;
        }
        local_1a0 = (byte *)0x0;
        uVar43 = uVar43 & 0x3f;
        do {
          if (uVar43 < 7) {
                    /* WARNING: Could not emulate address calculation at 0x002a5938 */
                    /* WARNING: Treating indirect jump as call */
            pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))();
            return pIVar5;
          }
          uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);
          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;
          if (uVar43 == 0xffffffff) {
            if (local_178 != (byte *)0x0) {
              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
            }
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);
            uVar40 = 0x1fb;
            pbVar14 = unaff_s8;
            goto LAB_002a5df4;
          }
          uVar43 = uVar43 & 0x3f;
        } while (uVar43 != 7);
        if (uVar11 == 0) {
          if (uVar42 < 3) {
            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception);
            if (iVar13 != 0) goto LAB_002a6328;
LAB_002a725c:
            if (local_178 != (byte *)0x0) {
              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
            }
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);
            uVar40 = 0x246;
LAB_002a705c:
            pcVar19 = image_info->filename;
            puVar20 = PTR_LAB_003a88e0 + 0x3e28;
            puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
            puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
            puVar21 = PTR_LAB_003a88e0 + 0x16f8;
            uVar22 = 400;
            goto LAB_002a5e2c;
          }
          if (0 < (int)pIVar5->rows) {
LAB_002a5be0:
            iVar13 = 0;
            dVar50 = *(double *)(puVar20 + -0x5af0);
            puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;
            uVar10 = 0;
            do {
              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)
                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);
              if (iVar18 == 0) break;
              sVar30 = pIVar5->columns;
              sVar8 = 0;
              if (0 < (int)sVar30) {
                pPVar41 = pIVar5->channel_map;
                sVar31 = pIVar5->number_channels;
                PVar9 = pIVar5->alpha_trait;
                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);
                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);
                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);
                pbVar14 = pbVar17;
                do {
                  *pfVar38 = (float)((double)*pbVar14 * dVar50);
                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);
                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);
                  if (PVar9 == UndefinedPixelTrait) {
                    pbVar17 = pbVar14 + 3;
                  }
                  else {
                    pbVar17 = pbVar14 + 4;
                    if (pPVar41[4].traits != UndefinedPixelTrait) {
                      *(float *)(iVar18 + pPVar41[4].offset * 4) =
                           (float)((double)pbVar14[3] * dVar50);
                    }
                  }
                  sVar8 = sVar8 + 1;
                  iVar18 = iVar18 + sVar31 * 4;
                  pfVar38 = pfVar38 + sVar31;
                  pfVar34 = pfVar34 + sVar31;
                  pfVar33 = pfVar33 + sVar31;
                  pbVar14 = pbVar17;
                } while (sVar8 != sVar30);
              }
              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);
              if (iVar18 == 0) break;
              sVar8 = pIVar5->rows;
              if (pIVar5->previous == (_Image *)0x0) {
                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)
                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);
                if (local_164 == 0) break;
                sVar8 = pIVar5->rows;
              }
              uVar12 = uVar10 + 1;
              iVar13 = (uint)(uVar12 < uVar10) + iVar13;
              uVar10 = uVar12;
            } while ((int)uVar12 < (int)sVar8);
            goto LAB_002a5fb4;
          }
        }
        else {
          if (uVar11 == 1) {
            if (0 < (int)local_17c) {
              puVar26 = PTR_LAB_003a88e0 + 0x3e28;
              puVar35 = PTR_s_courses_003a88ec + 0x6f4;
              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;
              pbVar14 = pbVar17;
              do {
                uVar10 = (uint)*pbVar14 & uVar29 - 1;
                if ((int)uVar10 < (int)pIVar5->colors) {
                  pbVar23 = local_178 + (int)(float)uVar10;
                }
                else {
                  pbVar23 = local_178;
                  if (exception->severity != CorruptImageError) {
                    (*(code *)PTR_ThrowMagickException_003a8f20)
                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,
                               pIVar5->filename);
                  }
                }
                pbVar37 = pbVar14 + 1;
                *pbVar14 = *pbVar23;
                pbVar14 = pbVar37;
                unaff_s8 = puVar21;
                local_1a0 = pbVar17;
              } while (pbVar37 != pbVar17 + local_17c);
            }
            if (2 < uVar42) {
              sVar8 = pIVar5->rows;
              goto LAB_002a5bd4;
            }
LAB_002a6aa4:
            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);
            if (iVar13 == 0) goto LAB_002a725c;
            if (uVar11 == 1) {
              sVar8 = pIVar5->colors;
              if ((int)sVar8 < 1) goto LAB_002a6328;
              uVar10 = 0;
              dVar50 = *(double *)(puVar20 + -0x5af0);
              pMVar25 = &pIVar5->colormap->red;
              do {
                uVar12 = uVar10 & 0xff;
                uVar10 = uVar10 + 1;
                dVar47 = (double)(float)((double)uVar12 * dVar50);
                *pMVar25 = dVar47;
                pMVar25[1] = dVar47;
                pMVar25[2] = dVar47;
                pMVar25 = pMVar25 + 0xb;
              } while (sVar8 != uVar10);
              PVar9 = pIVar5->alpha_trait;
            }
            else {
              sVar8 = pIVar5->colors;
              if ((int)sVar8 < 1) {
LAB_002a6328:
                PVar9 = pIVar5->alpha_trait;
              }
              else {
                dVar50 = *(double *)(puVar20 + -0x5af0);
                pMVar25 = &pIVar5->colormap->red;
                pbVar14 = local_178 + uVar29;
                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));
                pbVar37 = local_178;
                do {
                  bVar28 = *pbVar37;
                  pbVar44 = pbVar14 + 1;
                  pbVar37 = pbVar37 + 1;
                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);
                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);
                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);
                  pMVar25 = pMVar25 + 0xb;
                  pbVar14 = pbVar44;
                  pbVar23 = pbVar23 + 1;
                } while (pbVar44 != local_178 + sVar8 + uVar29);
                PVar9 = pIVar5->alpha_trait;
              }
            }
            puVar21 = PTR_s_t_to_left_003a88e4;
            if (PVar9 == UndefinedPixelTrait) {
              if (0 < (int)pIVar5->rows) {
                iVar13 = 0;
                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;
                uVar10 = 0;
                do {
                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)
                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);
                  if (iVar18 == 0) break;
                  pbVar14 = pbVar17 + pIVar5->columns;
                  if (0 < (int)pIVar5->columns) {
                    pPVar41 = pIVar5->channel_map;
                    sVar8 = pIVar5->number_channels;
                    PVar9 = pPVar41[5].traits;
                    pbVar23 = pbVar17;
                    do {
                      pbVar17 = pbVar23 + 1;
                      if (PVar9 != UndefinedPixelTrait) {
                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;
                      }
                      iVar18 = iVar18 + sVar8 * 4;
                      pbVar23 = pbVar17;
                    } while (pbVar14 != pbVar17);
                  }
                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);
                  if (iVar18 == 0) break;
                  sVar8 = pIVar5->rows;
                  if (pIVar5->previous == (_Image *)0x0) {
                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)
                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);
                    if (local_164 == 0) break;
                    sVar8 = pIVar5->rows;
                  }
                  uVar12 = uVar10 + 1;
                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;
                  uVar10 = uVar12;
                } while ((int)uVar12 < (int)sVar8);
              }
              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);
            }
            else {
              if (0 < (int)pIVar5->rows) {
                dVar50 = *(double *)(puVar20 + -0x5af0);
                puVar39 = PTR_LAB_003a88e0 + 0x3e28;
                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;
                local_1a0 = (byte *)0x0;
                uVar10 = 0;
                unaff_s8 = pbVar17;
                do {
                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)
                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);
                  puVar26 = PTR_s_courses_003a88ec;
                  if (iVar13 == 0) break;
                  if (0 < (int)pIVar5->columns) {
                    iVar18 = 0;
                    pbVar14 = unaff_s8;
                    do {
                      sVar8 = pIVar5->colors;
                      if ((int)(uint)*pbVar14 < (int)sVar8) {
                        iVar24 = (int)(float)*pbVar14 * 0x58;
                      }
                      else if (exception->severity == CorruptImageError) {
                        iVar24 = 0;
                      }
                      else {
                        (*(code *)PTR_ThrowMagickException_003a8f20)
                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,
                                   puVar39,pIVar5->filename);
                        iVar24 = 0;
                        sVar8 = pIVar5->colors;
                      }
                      pPVar32 = pIVar5->colormap;
                      pPVar41 = pIVar5->channel_map;
                      *(float *)(iVar13 + pPVar41->offset * 4) =
                           (float)*(double *)((int)&pPVar32->red + iVar24);
                      if ((int)(uint)pbVar14[1] < (int)sVar8) {
                        iVar24 = (int)(float)pbVar14[1] * 0x58;
                      }
                      else if (exception->severity == CorruptImageError) {
                        iVar24 = 0;
                      }
                      else {
                        (*(code *)PTR_ThrowMagickException_003a8f20)
                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,
                                   puVar39,pIVar5->filename);
                        iVar24 = 0;
                        pPVar32 = pIVar5->colormap;
                        sVar8 = pIVar5->colors;
                        pPVar41 = pIVar5->channel_map;
                      }
                      *(float *)(iVar13 + pPVar41[1].offset * 4) =
                           (float)*(double *)((int)&pPVar32->green + iVar24);
                      if ((int)(uint)pbVar14[2] < (int)sVar8) {
                        iVar24 = (int)(float)pbVar14[2] * 0x58;
                      }
                      else if (exception->severity == CorruptImageError) {
                        iVar24 = 0;
                      }
                      else {
                        (*(code *)PTR_ThrowMagickException_003a8f20)
                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,
                                   puVar39,pIVar5->filename);
                        iVar24 = 0;
                        pPVar32 = pIVar5->colormap;
                        pPVar41 = pIVar5->channel_map;
                      }
                      PVar9 = pPVar41[4].traits;
                      unaff_s8 = pbVar14 + 4;
                      *(float *)(iVar13 + pPVar41[2].offset * 4) =
                           (float)*(double *)((int)&pPVar32->blue + iVar24);
                      if (PVar9 != UndefinedPixelTrait) {
                        *(float *)(iVar13 + pPVar41[4].offset * 4) =
                             (float)((double)pbVar14[3] * dVar50);
                      }
                      iVar18 = iVar18 + 1;
                      iVar13 = iVar13 + pIVar5->number_channels * 4;
                      pbVar14 = unaff_s8;
                    } while (iVar18 < (int)pIVar5->columns);
                  }
                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);
                  if (iVar13 == 0) break;
                  sVar8 = pIVar5->rows;
                  if (pIVar5->previous == (_Image *)0x0) {
                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)
                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +
                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);
                    if (local_164 == 0) break;
                    sVar8 = pIVar5->rows;
                  }
                  uVar12 = uVar10 + 1;
                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);
                  uVar10 = uVar12;
                } while ((int)uVar12 < (int)sVar8);
              }
              pPVar32 = (PixelInfo *)
                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);
              pIVar5->colormap = pPVar32;
              pIVar5->colors = 0;
              pIVar5->storage_class = DirectClass;
            }
LAB_002a5fb4:
            if (uVar11 == 0) goto LAB_002a5fc4;
          }
          else {
            if (uVar42 < 3) {
              if ((int)uVar10 < (int)local_17c) {
LAB_002a74c4:
                if (local_178 != (byte *)0x0) {
                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
                }
                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);
                pcVar19 = image_info->filename;
                uVar40 = 0x21a;
                puVar20 = PTR_LAB_003a88e0 + 0x3e28;
                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;
                uVar22 = 0x1a9;
                goto LAB_002a5e2c;
              }
              goto LAB_002a6aa4;
            }
            if (uVar11 == 2) {
              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;
            }
            else if (0 < (int)local_17c) {
              uVar10 = 1;
              if (0 < (int)uVar42) {
                uVar10 = uVar42;
              }
              uVar12 = 0;
              puVar35 = PTR_LAB_003a88e0 + 0x3e28;
              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;
              puVar26 = PTR_s_courses_003a88ec + 0x6f4;
              pbVar14 = pbVar17;
              do {
                unaff_s8 = (byte *)0x0;
                pbVar23 = pbVar14;
                do {
                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {
                    pbVar37 = local_178 +
                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));
                  }
                  else {
                    pbVar37 = local_178;
                    if (exception->severity != CorruptImageError) {
                      (*(code *)PTR_ThrowMagickException_003a8f20)
                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,
                                 pIVar5->filename);
                    }
                  }
                  pbVar44 = pbVar23 + 1;
                  *pbVar23 = *pbVar37;
                  unaff_s8 = unaff_s8 + uVar29;
                  pbVar23 = pbVar44;
                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);
                pbVar14 = pbVar14 + uVar10;
                uVar12 = uVar12 + 1;
              } while (uVar12 != local_17c);
            }
            sVar8 = pIVar5->rows;
LAB_002a5bd4:
            if (0 < (int)sVar8) goto LAB_002a5be0;
          }
          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);
        }
LAB_002a5fc4:
        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);
        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);
        pbVar14 = unaff_s8;
        if (iVar6 != 0) {
          puVar27 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
          uVar40 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar27);
          (*(code *)PTR_ThrowMagickException_003a8f20)
                    (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,
                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,
                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,pIVar5->filename,
                     uVar40);
          (*(code *)PTR_DestroyString_003a9074)(uVar40);
LAB_002a6040:
          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);
          if (local_164 != 0) goto LAB_002a56b8;
          goto LAB_002a57d0;
        }
        if ((image_info->number_scenes != 0) &&
           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene))
        goto LAB_002a6040;
        (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);
        iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);
        if ((iVar6 == 0) || (magick._0_2_ != 0x52cc)) goto LAB_002a6040;
        (*(code *)PTR_AcquireNextImage_003a8f90)(image_info,pIVar5,exception);
        iVar6 = (*(code *)PTR_GetNextImageInList_003a9470)(pIVar5);
        if (iVar6 == 0) {
LAB_002a74b0:
          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);
          goto LAB_002a57d0;
        }
        pIVar5 = (Image *)(*(code *)PTR_SyncNextImageInList_003a9408)(pIVar5);
        uVar52 = (*(code *)PTR_TellBlob_003a931c)(pIVar5);
        uVar53 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);
        iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)
                          (pIVar5,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar52 >> 0x20),
                           (int)uVar52,uVar53);
        if (iVar6 == 0) goto LAB_002a74b0;
      } while (magick._0_2_ == 0x52cc);
      (*(code *)PTR_CloseBlob_003a9688)(pIVar5);
LAB_002a56b8:
      pIVar5 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(pIVar5);
    }
    else {
      (*(code *)PTR_ThrowMagickException_003a8f20)
                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,
                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,
                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);
      pIVar45 = pIVar5;
      if (pIVar5 != (Image *)0x0) goto LAB_002a5728;
    }
  }
  while (iVar4 != *(int *)puVar3) {
    (*(code *)PTR___stack_chk_fail_003a9064)();
LAB_002a7380:
    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);
    if (local_178 != (byte *)0x0) {
      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
    }
    if (local_1a0 != (byte *)0x0) {
      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
    }
    pcVar19 = local_188->filename;
    uVar40 = 0x143;
LAB_002a6244:
    puVar20 = PTR_LAB_003a88e0 + 0x3e28;
    puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
    puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
    puVar21 = PTR_s_courses_003a88ec + -0x17c;
    uVar22 = 0x1a9;
LAB_002a5e2c:
    (*(code *)PTR_ThrowMagickException_003a8f20)
              (local_18c,puVar35,puVar39,uVar40,uVar22,puVar21,puVar20,pcVar19);
    pIVar45 = pIVar5;
LAB_002a5728:
    (*(code *)PTR_CloseBlob_003a9688)(pIVar45);
    pIVar5 = (Image *)0x0;
    (*(code *)PTR_DestroyImageList_003a9510)(pIVar45);
  }
  return pIVar5;
}



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

undefined4 * FUN_002a5290(int param_1,int *param_2)

{
  ulonglong uVar1;
  ulonglong uVar2;
  undefined *puVar3;
  undefined4 *puVar4;
  int iVar5;
  undefined4 uVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  uint uVar10;
  int iVar11;
  byte *pbVar12;
  uint uVar13;
  uint uVar14;
  byte *pbVar15;
  byte bVar23;
  undefined *puVar16;
  undefined *puVar17;
  undefined4 uVar18;
  byte *pbVar19;
  double *pdVar20;
  undefined *puVar21;
  undefined4 *puVar22;
  uint uVar24;
  int iVar25;
  int iVar26;
  float *pfVar27;
  float *pfVar28;
  undefined *puVar29;
  byte *pbVar30;
  byte *pbVar31;
  float *pfVar32;
  undefined *puVar33;
  int iVar34;
  int iVar35;
  int iVar36;
  int iVar37;
  uint uVar38;
  uint uVar39;
  byte *pbVar40;
  byte *unaff_s8;
  double dVar41;
  double dVar42;
  double dVar43;
  double dVar44;
  double dVar45;
  longlong lVar46;
  undefined8 uVar47;
  undefined8 uVar48;
  byte *local_1a0;
  int *local_18c;
  int local_188;
  int local_180;
  uint local_17c;
  byte *local_178;
  int local_164;
  short local_158 [6];
  byte local_14c [256];
  int local_4c;
  
  puVar3 = PTR___stack_chk_guard_003a9230;
  local_4c = *(int *)PTR___stack_chk_guard_003a9230;
  if (param_1 == 0) {
    puVar4 = (undefined4 *)
             (*(code *)PTR___assert_fail_003a9608)
                       (PTR_LAB_003a88e0 + 0xd78,
                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,
                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);
    return puVar4;
  }
  if (*(int *)(param_1 + 0x3214) != -0x54535255) {
    puVar4 = (undefined4 *)
             (*(code *)PTR___assert_fail_003a9608)
                       (PTR_LAB_003a88e0 + 0xda0,
                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,
                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);
    return puVar4;
  }
  if (*(int *)(param_1 + 0x3210) != 0) {
    (*(code *)PTR_LogMagickEvent_003a91e0)
              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,
               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,
               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);
  }
  if (param_2 == (int *)0x0) {
    puVar4 = (undefined4 *)
             (*(code *)PTR___assert_fail_003a9608)
                       (PTR_LAB_003a88e0 + 0x1cac,
                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,
                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);
    return puVar4;
  }
  if (param_2[7] != -0x54535255) {
    puVar4 = (undefined4 *)
             (*(code *)PTR___assert_fail_003a9608)
                       (PTR_LAB_003a88e0 + 0x294c,
                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,
                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);
    return puVar4;
  }
  puVar4 = (undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);
  iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2);
  pbVar12 = unaff_s8;
  if (iVar5 == 0) {
LAB_002a57d0:
    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);
    unaff_s8 = pbVar12;
  }
  else {
    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);
    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;
    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {
      local_178 = (byte *)0x0;
      local_1a0 = (byte *)0x0;
      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);
      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);
      do {
        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);
        puVar17 = PTR_ReadBlobLSBShort_003a96fc;
        puVar4[0x8c] = uVar6;
        uVar6 = (*(code *)puVar17)(puVar4);
        puVar17 = PTR_ReadBlobLSBShort_003a96fc;
        puVar4[0x8d] = uVar6;
        uVar6 = (*(code *)puVar17)(puVar4);
        puVar17 = PTR_ReadBlobLSBShort_003a96fc;
        puVar4[6] = uVar6;
        uVar6 = (*(code *)puVar17)(puVar4);
        puVar17 = PTR_ReadBlobByte_003a97f0;
        puVar4[7] = uVar6;
        uVar7 = (*(code *)puVar17)(puVar4);
        puVar4[0xaf] = uVar7 & 4;
        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
        local_18c = param_2;
        local_188 = param_1;
        if (0x15 < (uVar10 & 0xff)) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar6 = 0xee;
LAB_002a6770:
          param_1 = param_1 + 0x2210;
          puVar16 = PTR_LAB_003a88e0 + 0x3e28;
          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
          puVar17 = PTR_s_courses_003a88ec + -400;
          uVar18 = 0x1a9;
          goto LAB_002a5e2c;
        }
        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);
        if (iVar11 != 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          param_1 = param_1 + 0x2210;
          uVar6 = 0xf0;
          goto LAB_002a6244;
        }
        uVar24 = 1 << (uVar10 & 0x1f);
        if (((uVar8 & 0xfffffffd) == 0) ||
           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar6 = 0xf5;
          goto LAB_002a6770;
        }
        if (4 < uVar8) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar6 = 0xf7;
          goto LAB_002a6770;
        }
        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar6 = 0xfa;
          goto LAB_002a6770;
        }
        if ((uVar7 & 2) == 0) {
          pbVar12 = local_14c;
          do {
            pbVar15 = pbVar12 + 1;
            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
            *pbVar12 = bVar23;
            pbVar12 = pbVar15;
          } while (local_14c + uVar8 != pbVar15);
        }
        else {
          pbVar12 = local_14c;
          do {
            *pbVar12 = 0;
            pbVar12 = pbVar12 + 1;
          } while (pbVar12 != local_14c + uVar8);
          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
        }
        if ((uVar8 & 1) == 0) {
          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
        }
        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);
        if (iVar5 != 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          param_1 = param_1 + 0x2210;
          uVar6 = 0x110;
          goto LAB_002a6244;
        }
        uVar38 = uVar8;
        if (puVar4[0xaf] != 0) {
          uVar38 = uVar8 + 1;
        }
        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];
        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);
        if (lVar46 == 0) {
LAB_002a6a10:
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar6 = 0x116;
LAB_002a6a54:
          param_1 = param_1 + 0x2210;
          puVar16 = PTR_LAB_003a88e0 + 0x3e28;
          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
          puVar17 = PTR_s_courses_003a88ec + 0x4a0;
          uVar18 = 0x1a9;
          goto LAB_002a5e2c;
        }
        local_180 = (int)(uVar1 >> 0x20);
        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);
        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);
        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);
        uVar47 = (*(code *)PTR_FUN_003a89c0)
                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),
                            (int)uVar47);
        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;
        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);
        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar6 = 0x118;
          goto LAB_002a6a54;
        }
        if (uVar9 != 0) {
          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)
                                        (uVar9,3 << (uVar10 & 0x1f));
          if (local_178 == (byte *)0x0) {
            if (local_1a0 != (byte *)0x0) {
              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
            }
            uVar6 = 0x121;
            goto LAB_002a705c;
          }
          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);
          unaff_s8 = local_178;
          if ((int)uVar9 < 1) {
            uVar8 = 0;
          }
          else {
            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);
            uVar13 = 0;
            do {
              pbVar15 = unaff_s8 + uVar24;
              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);
              pbVar12 = unaff_s8;
              do {
                unaff_s8 = pbVar12 + 1;
                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);
                puVar17 = PTR_EOFBlob_003a9748;
                if ((float)iVar5 <= 0.0) {
                  bVar23 = 0;
                }
                else if ((double)iVar5 / dVar43 < dVar45) {
                  dVar41 = (double)iVar5 / dVar43 + dVar44;
                  if (dVar41 < dVar42) {
                    bVar23 = (byte)(int)dVar41;
                  }
                  else {
                    bVar23 = (byte)(int)(dVar41 - dVar42);
                  }
                }
                else {
                  bVar23 = 0xff;
                }
                *pbVar12 = bVar23;
                iVar5 = (*(code *)puVar17)(puVar4);
                if (iVar5 != 0) {
                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);
                  if (local_1a0 != (byte *)0x0) {
                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
                  }
                  param_1 = param_1 + 0x2210;
                  uVar6 = 299;
                  goto LAB_002a6244;
                }
                pbVar12 = unaff_s8;
              } while (pbVar15 != unaff_s8);
              uVar13 = uVar13 + 1;
              uVar8 = uVar9;
            } while (uVar9 != uVar13);
          }
        }
        pbVar12 = unaff_s8;
        if (((uVar7 & 8) != 0) &&
           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {
          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);
          if (unaff_s8 == (byte *)0x0) {
            if (local_178 != (byte *)0x0) {
              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
            }
            if (local_1a0 != (byte *)0x0) {
              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
            }
            uVar6 = 0x13e;
            goto LAB_002a705c;
          }
          iVar11 = uVar13 - 1;
          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);
          puVar17 = PTR_SetImageProperty_003a9534;
          if (iVar11 != iVar5) goto LAB_002a7380;
          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;
          unaff_s8[iVar11] = 0;
          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);
          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);
          pbVar12 = unaff_s8;
          if ((uVar13 & 1) == 0) {
            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
          }
        }
        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);
        unaff_s8 = pbVar12;
        if (iVar5 != 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          param_1 = param_1 + 0x2210;
          uVar6 = 0x14d;
          goto LAB_002a6244;
        }
        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&
           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))
        break;
        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);
        if (local_164 == 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          goto LAB_002a57d0;
        }
        uVar14 = uVar38 + 1;
        local_17c = (uint)uVar1;
        uVar13 = uVar38;
        if ((uVar38 & 1) != 0) {
          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);
          uVar13 = uVar14;
        }
        if (uVar39 != 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar6 = 0x161;
          goto LAB_002a705c;
        }
        uVar39 = 4;
        if (3 < uVar13) {
          uVar39 = uVar13;
        }
        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);
        if (iVar5 == 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          uVar6 = 0x165;
          goto LAB_002a705c;
        }
        iVar25 = puVar4[7];
        iVar11 = puVar4[6];
        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);
        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);
        if ((uVar7 & 3) == 1) {
          uVar7 = 0;
          if ((int)local_17c < 1) {
            uVar8 = 0;
          }
          else {
            pbVar19 = pbVar15;
            do {
              pbVar31 = local_14c;
              pbVar40 = pbVar19;
              if (puVar4[0xaf] == 0) {
                do {
                  pbVar30 = pbVar31 + 1;
                  *pbVar40 = *pbVar31;
                  pbVar31 = pbVar30;
                  pbVar40 = pbVar40 + 1;
                } while (pbVar30 != local_14c + uVar38);
                pbVar31 = pbVar19 + uVar38;
              }
              else {
                if (uVar38 - 1 != 0) {
                  pbVar30 = pbVar19 + (uVar38 - 1);
                  pbVar31 = pbVar19;
                  pbVar40 = local_14c;
                  do {
                    bVar23 = *pbVar40;
                    pbVar19 = pbVar31 + 1;
                    pbVar40 = pbVar40 + 1;
                    *pbVar31 = bVar23;
                    pbVar31 = pbVar19;
                  } while (pbVar30 != pbVar19);
                }
                pbVar31 = pbVar19 + 1;
                *pbVar19 = 0;
              }
              uVar7 = uVar7 + 1;
              pbVar19 = pbVar31;
              uVar8 = local_17c;
            } while (local_17c != uVar7);
          }
        }
        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;
        if (uVar7 == 0xffffffff) {
          if (uVar9 != 0) {
            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);
          }
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);
          uVar6 = 0x18b;
LAB_002a5df4:
          param_1 = param_1 + 0x2210;
          puVar16 = PTR_LAB_003a88e0 + 0x3e28;
          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
          puVar17 = PTR_s_courses_003a88ec + -0x17c;
          uVar18 = 0x1a9;
          unaff_s8 = pbVar12;
          goto LAB_002a5e2c;
        }
        local_1a0 = (byte *)0x0;
        uVar7 = uVar7 & 0x3f;
        do {
          if (uVar7 < 7) {
                    /* WARNING: Could not emulate address calculation at 0x002a5938 */
                    /* WARNING: Treating indirect jump as call */
            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();
            return puVar4;
          }
          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;
          if (uVar7 == 0xffffffff) {
            if (local_178 != (byte *)0x0) {
              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
            }
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);
            uVar6 = 0x1fb;
            pbVar12 = unaff_s8;
            goto LAB_002a5df4;
          }
          uVar7 = uVar7 & 0x3f;
        } while (uVar7 != 7);
        if (uVar9 == 0) {
          if (uVar38 < 3) {
            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);
            if (iVar11 != 0) goto LAB_002a6328;
LAB_002a725c:
            if (local_178 != (byte *)0x0) {
              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
            }
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);
            uVar6 = 0x246;
LAB_002a705c:
            param_1 = param_1 + 0x2210;
            puVar16 = PTR_LAB_003a88e0 + 0x3e28;
            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
            puVar17 = PTR_LAB_003a88e0 + 0x16f8;
            uVar18 = 400;
            goto LAB_002a5e2c;
          }
          if (0 < (int)puVar4[7]) {
LAB_002a5be0:
            iVar11 = 0;
            dVar45 = *(double *)(puVar16 + -0x5af0);
            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;
            uVar8 = 0;
            do {
              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)
                                 (puVar4,0,uVar8,puVar4[6],1,param_2);
              if (iVar25 == 0) break;
              iVar35 = puVar4[6];
              iVar34 = 0;
              if (0 < iVar35) {
                iVar36 = puVar4[0xb4];
                iVar26 = puVar4[0xb0];
                iVar37 = puVar4[0xaf];
                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);
                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);
                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);
                pbVar12 = pbVar15;
                do {
                  *pfVar32 = (float)((double)*pbVar12 * dVar45);
                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);
                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);
                  if (iVar37 == 0) {
                    pbVar15 = pbVar12 + 3;
                  }
                  else {
                    pbVar15 = pbVar12 + 4;
                    if (*(int *)(iVar36 + 0x34) != 0) {
                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =
                           (float)((double)pbVar12[3] * dVar45);
                    }
                  }
                  iVar34 = iVar34 + 1;
                  iVar25 = iVar25 + iVar26 * 4;
                  pfVar32 = pfVar32 + iVar26;
                  pfVar28 = pfVar28 + iVar26;
                  pfVar27 = pfVar27 + iVar26;
                  pbVar12 = pbVar15;
                } while (iVar34 != iVar35);
              }
              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);
              if (iVar25 == 0) break;
              iVar25 = puVar4[7];
              if (puVar4[0xcd9] == 0) {
                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)
                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);
                if (local_164 == 0) break;
                iVar25 = puVar4[7];
              }
              uVar7 = uVar8 + 1;
              iVar11 = (uint)(uVar7 < uVar8) + iVar11;
              uVar8 = uVar7;
            } while ((int)uVar7 < iVar25);
            goto LAB_002a5fb4;
          }
        }
        else {
          if (uVar9 == 1) {
            if (0 < (int)local_17c) {
              puVar21 = PTR_LAB_003a88e0 + 0x3e28;
              puVar29 = PTR_s_courses_003a88ec + 0x6f4;
              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;
              pbVar12 = pbVar15;
              do {
                uVar8 = (uint)*pbVar12 & uVar24 - 1;
                if ((int)uVar8 < (int)puVar4[9]) {
                  pbVar19 = local_178 + (int)(float)uVar8;
                }
                else {
                  pbVar19 = local_178;
                  if (*param_2 != 0x1a9) {
                    (*(code *)PTR_ThrowMagickException_003a8f20)
                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,
                               puVar4 + 0xd0);
                  }
                }
                pbVar31 = pbVar12 + 1;
                *pbVar12 = *pbVar19;
                pbVar12 = pbVar31;
                unaff_s8 = puVar17;
                local_1a0 = pbVar15;
              } while (pbVar31 != pbVar15 + local_17c);
            }
            if (2 < uVar38) {
              iVar11 = puVar4[7];
              goto LAB_002a5bd4;
            }
LAB_002a6aa4:
            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);
            if (iVar11 == 0) goto LAB_002a725c;
            if (uVar9 == 1) {
              uVar8 = puVar4[9];
              if ((int)uVar8 < 1) goto LAB_002a6328;
              uVar7 = 0;
              dVar45 = *(double *)(puVar16 + -0x5af0);
              pdVar20 = (double *)(puVar4[10] + 0x28);
              do {
                uVar10 = uVar7 & 0xff;
                uVar7 = uVar7 + 1;
                dVar42 = (double)(float)((double)uVar10 * dVar45);
                *pdVar20 = dVar42;
                pdVar20[1] = dVar42;
                pdVar20[2] = dVar42;
                pdVar20 = pdVar20 + 0xb;
              } while (uVar8 != uVar7);
              iVar11 = puVar4[0xaf];
            }
            else {
              iVar11 = puVar4[9];
              if (iVar11 < 1) {
LAB_002a6328:
                iVar11 = puVar4[0xaf];
              }
              else {
                dVar45 = *(double *)(puVar16 + -0x5af0);
                pdVar20 = (double *)(puVar4[10] + 0x28);
                pbVar12 = local_178 + uVar24;
                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));
                pbVar31 = local_178;
                do {
                  bVar23 = *pbVar31;
                  pbVar40 = pbVar12 + 1;
                  pbVar31 = pbVar31 + 1;
                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);
                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);
                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);
                  pdVar20 = pdVar20 + 0xb;
                  pbVar12 = pbVar40;
                  pbVar19 = pbVar19 + 1;
                } while (pbVar40 != local_178 + iVar11 + uVar24);
                iVar11 = puVar4[0xaf];
              }
            }
            puVar17 = PTR_s_t_to_left_003a88e4;
            if (iVar11 == 0) {
              if (0 < (int)puVar4[7]) {
                iVar11 = 0;
                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;
                uVar8 = 0;
                do {
                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)
                                     (puVar4,0,uVar8,puVar4[6],1,param_2);
                  if (iVar25 == 0) break;
                  pbVar12 = pbVar15 + puVar4[6];
                  if (0 < (int)puVar4[6]) {
                    iVar26 = puVar4[0xb4];
                    iVar34 = puVar4[0xb0];
                    iVar35 = *(int *)(iVar26 + 0x40);
                    pbVar19 = pbVar15;
                    do {
                      pbVar15 = pbVar19 + 1;
                      if (iVar35 != 0) {
                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;
                      }
                      iVar25 = iVar25 + iVar34 * 4;
                      pbVar19 = pbVar15;
                    } while (pbVar12 != pbVar15);
                  }
                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);
                  if (iVar25 == 0) break;
                  iVar25 = puVar4[7];
                  if (puVar4[0xcd9] == 0) {
                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)
                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);
                    if (local_164 == 0) break;
                    iVar25 = puVar4[7];
                  }
                  uVar7 = uVar8 + 1;
                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;
                  uVar8 = uVar7;
                } while ((int)uVar7 < iVar25);
              }
              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);
            }
            else {
              if (0 < (int)puVar4[7]) {
                dVar45 = *(double *)(puVar16 + -0x5af0);
                puVar33 = PTR_LAB_003a88e0 + 0x3e28;
                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;
                local_1a0 = (byte *)0x0;
                uVar8 = 0;
                unaff_s8 = pbVar15;
                do {
                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)
                                     (puVar4,0,uVar8,puVar4[6],1,param_2);
                  puVar21 = PTR_s_courses_003a88ec;
                  if (iVar11 == 0) break;
                  if (0 < (int)puVar4[6]) {
                    iVar25 = 0;
                    pbVar12 = unaff_s8;
                    do {
                      iVar34 = puVar4[9];
                      if ((int)(uint)*pbVar12 < iVar34) {
                        iVar35 = (int)(float)*pbVar12 * 0x58;
                      }
                      else if (*param_2 == 0x1a9) {
                        iVar35 = 0;
                      }
                      else {
                        (*(code *)PTR_ThrowMagickException_003a8f20)
                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,
                                   puVar33,puVar4 + 0xd0);
                        iVar35 = 0;
                        iVar34 = puVar4[9];
                      }
                      iVar26 = puVar4[10];
                      iVar36 = puVar4[0xb4];
                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =
                           (float)*(double *)(iVar26 + iVar35 + 0x28);
                      if ((int)(uint)pbVar12[1] < iVar34) {
                        iVar35 = (int)(float)pbVar12[1] * 0x58;
                      }
                      else if (*param_2 == 0x1a9) {
                        iVar35 = 0;
                      }
                      else {
                        (*(code *)PTR_ThrowMagickException_003a8f20)
                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,
                                   puVar33,puVar4 + 0xd0);
                        iVar35 = 0;
                        iVar26 = puVar4[10];
                        iVar34 = puVar4[9];
                        iVar36 = puVar4[0xb4];
                      }
                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =
                           (float)*(double *)(iVar26 + iVar35 + 0x30);
                      if ((int)(uint)pbVar12[2] < iVar34) {
                        iVar34 = (int)(float)pbVar12[2] * 0x58;
                      }
                      else if (*param_2 == 0x1a9) {
                        iVar34 = 0;
                      }
                      else {
                        (*(code *)PTR_ThrowMagickException_003a8f20)
                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,
                                   puVar33,puVar4 + 0xd0);
                        iVar34 = 0;
                        iVar26 = puVar4[10];
                        iVar36 = puVar4[0xb4];
                      }
                      iVar35 = *(int *)(iVar36 + 0x34);
                      unaff_s8 = pbVar12 + 4;
                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =
                           (float)*(double *)(iVar26 + iVar34 + 0x38);
                      if (iVar35 != 0) {
                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =
                             (float)((double)pbVar12[3] * dVar45);
                      }
                      iVar25 = iVar25 + 1;
                      iVar11 = iVar11 + puVar4[0xb0] * 4;
                      pbVar12 = unaff_s8;
                    } while (iVar25 < (int)puVar4[6]);
                  }
                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);
                  if (iVar11 == 0) break;
                  iVar11 = puVar4[7];
                  if (puVar4[0xcd9] == 0) {
                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)
                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +
                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);
                    if (local_164 == 0) break;
                    iVar11 = puVar4[7];
                  }
                  uVar7 = uVar8 + 1;
                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);
                  uVar8 = uVar7;
                } while ((int)uVar7 < iVar11);
              }
              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);
              puVar4[10] = uVar6;
              puVar4[9] = 0;
              *puVar4 = 1;
            }
LAB_002a5fb4:
            if (uVar9 == 0) goto LAB_002a5fc4;
          }
          else {
            if (uVar38 < 3) {
              if ((int)uVar8 < (int)local_17c) {
LAB_002a74c4:
                if (local_178 != (byte *)0x0) {
                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
                }
                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);
                param_1 = param_1 + 0x2210;
                uVar6 = 0x21a;
                puVar16 = PTR_LAB_003a88e0 + 0x3e28;
                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;
                uVar18 = 0x1a9;
                goto LAB_002a5e2c;
              }
              goto LAB_002a6aa4;
            }
            if (uVar9 == 2) {
              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;
            }
            else if (0 < (int)local_17c) {
              uVar8 = 1;
              if (0 < (int)uVar38) {
                uVar8 = uVar38;
              }
              uVar7 = 0;
              puVar29 = PTR_LAB_003a88e0 + 0x3e28;
              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;
              puVar21 = PTR_s_courses_003a88ec + 0x6f4;
              pbVar12 = pbVar15;
              do {
                unaff_s8 = (byte *)0x0;
                pbVar19 = pbVar12;
                do {
                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {
                    pbVar31 = local_178 +
                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));
                  }
                  else {
                    pbVar31 = local_178;
                    if (*param_2 != 0x1a9) {
                      (*(code *)PTR_ThrowMagickException_003a8f20)
                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,
                                 puVar4 + 0xd0);
                    }
                  }
                  pbVar40 = pbVar19 + 1;
                  *pbVar19 = *pbVar31;
                  unaff_s8 = unaff_s8 + uVar24;
                  pbVar19 = pbVar40;
                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);
                pbVar12 = pbVar12 + uVar8;
                uVar7 = uVar7 + 1;
              } while (uVar7 != local_17c);
            }
            iVar11 = puVar4[7];
LAB_002a5bd4:
            if (0 < iVar11) goto LAB_002a5be0;
          }
          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);
        }
LAB_002a5fc4:
        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);
        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);
        pbVar12 = unaff_s8;
        if (iVar5 != 0) {
          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);
          (*(code *)PTR_ThrowMagickException_003a8f20)
                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,
                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,
                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);
          (*(code *)PTR_DestroyString_003a9074)(uVar6);
LAB_002a6040:
          (*(code *)PTR_CloseBlob_003a9688)(puVar4);
          if (local_164 != 0) goto LAB_002a56b8;
          goto LAB_002a57d0;
        }
        if ((*(int *)(param_1 + 0x2c) != 0) &&
           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))
        goto LAB_002a6040;
        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);
        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;
        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);
        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);
        if (iVar5 == 0) {
LAB_002a74b0:
          (*(code *)PTR_CloseBlob_003a9688)(puVar4);
          goto LAB_002a57d0;
        }
        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);
        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);
        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);
        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)
                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),
                           (int)uVar47,uVar48);
        if (iVar5 == 0) goto LAB_002a74b0;
      } while (local_158[0] == 0x52cc);
      (*(code *)PTR_CloseBlob_003a9688)(puVar4);
LAB_002a56b8:
      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);
    }
    else {
      (*(code *)PTR_ThrowMagickException_003a8f20)
                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,
                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,
                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);
      puVar22 = puVar4;
      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;
    }
  }
  while (local_4c != *(int *)puVar3) {
    (*(code *)PTR___stack_chk_fail_003a9064)();
LAB_002a7380:
    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);
    if (local_178 != (byte *)0x0) {
      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
    }
    if (local_1a0 != (byte *)0x0) {
      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
    }
    param_1 = local_188 + 0x2210;
    uVar6 = 0x143;
LAB_002a6244:
    puVar16 = PTR_LAB_003a88e0 + 0x3e28;
    puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
    puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
    puVar17 = PTR_s_courses_003a88ec + -0x17c;
    uVar18 = 0x1a9;
LAB_002a5e2c:
    (*(code *)PTR_ThrowMagickException_003a8f20)
              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);
    puVar22 = puVar4;
LAB_002a5728:
    (*(code *)PTR_CloseBlob_003a9688)(puVar22);
    puVar4 = (undefined4 *)0x0;
    (*(code *)PTR_DestroyImageList_003a9510)(puVar22);
  }
  return puVar4;
}


lui gp,0x11
addiu gp,gp,-0x49e0
addu gp,gp,t9
lw v0,-0x7680(gp)
addiu sp,sp,-0x1e0
sdc1 f26,0x1d8(sp)
sw v0,0x34(sp)
sw gp,0x28(sp)
sw ra,0x1bc(sp)
sw s8,0x1b8(sp)
sw s7,0x1b4(sp)
sw s6,0x1b0(sp)
sw s5,0x1ac(sp)
sw s4,0x1a8(sp)
sw s3,0x1a4(sp)
sw s2,0x1a0(sp)
sw s1,0x19c(sp)
sw s0,0x198(sp)
lw v0,0x0(v0)
sdc1 f24,0x1d0(sp)
sdc1 f22,0x1c8(sp)
sw v0,0x194(sp)
beq a0,zero,0x002a748c
_sdc1 f20,0x1c0(sp)
lui v0,0xabac
lw v1,0x3214(a0)
ori v0,v0,0xadab
bne v1,v0,0x002a7468
_or s7,a0,zero
lw v0,0x3210(a0)
bne v0,zero,0x002a57e4
_or s5,a1,zero
beq s5,zero,0x002a7444
_lui v0,0xabac
lw v1,0x1c(s5)
ori v0,v0,0xadab
bne v1,v0,0x002a7420
_lw t9,-0x72a4(gp)
or a1,s5,zero
jalr t9
_or a0,s7,zero
li a2,0x2
lw gp,0x28(sp)
or a3,s5,zero
or a1,v0,zero
or a0,s7,zero
lw t9,-0x7664(gp)
jalr t9
_or s6,v0,zero
beq v0,zero,0x002a57cc
_lw gp,0x28(sp)
lw t9,-0x7b04(gp)
addiu v0,sp,0x88
li a1,0x2
sw v0,0x44(sp)
or a2,v0,zero
jalr t9
_or a0,s6,zero
li v1,0x2
bne v0,v1,0x002a56d0
_lw gp,0x28(sp)
lhu v1,0x88(sp)
li v0,0x52cc
bne v1,v0,0x002a56d4
_addiu v0,s7,0x2210
lw v0,-0x7fc8(gp)
sw zero,0x68(sp)
sw zero,0x40(sp)
sw v0,0x74(sp)
ldc1 f20,-0x5af0(v0)
lw v0,-0x7fd0(gp)
sw s7,0x58(sp)
sw s5,0x54(sp)
ldc1 f22,0x1400(v0)
lw t9,-0x71b4(gp)
jalr t9
_or a0,s6,zero
or a0,s6,zero
lw gp,0x28(sp)
lw t9,-0x71b4(gp)
jalr t9
_sw v0,0x230(s6)
or a0,s6,zero
lw gp,0x28(sp)
lw t9,-0x71b4(gp)
jalr t9
_sw v0,0x234(s6)
or a0,s6,zero
lw gp,0x28(sp)
lw t9,-0x71b4(gp)
jalr t9
_sw v0,0x18(s6)
or a0,s6,zero
lw gp,0x28(sp)
lw t9,-0x70c0(gp)
jalr t9
_sw v0,0x1c(s6)
or a0,s6,zero
lw gp,0x28(sp)
andi s0,v0,0x4
sw s0,0x2bc(s6)
lw t9,-0x70c0(gp)
jalr t9
_or s4,v0,zero
or a0,s6,zero
lw gp,0x28(sp)
or s7,v0,zero
lw t9,-0x70c0(gp)
jalr t9
_or s1,v0,zero
or a0,s6,zero
lw gp,0x28(sp)
lw t9,-0x70c0(gp)
jalr t9
_or s2,v0,zero
or a0,s6,zero
lw gp,0x28(sp)
lw t9,-0x70c0(gp)
jalr t9
_sw v0,0x48(sp)
andi v0,v0,0xff
lw gp,0x28(sp)
sw v0,0x5c(sp)
slti v0,v0,0x16
beq v0,zero,0x002a6ccc
_lw t9,-0x7168(gp)
jalr t9
_or a0,s6,zero
bne v0,zero,0x002a6d14
_lw gp,0x28(sp)
lw a0,0x5c(sp)
li v1,0x1
li v0,-0x3
sllv v1,v1,a0
and v0,s7,v0
beq v0,zero,0x002a672c
_sw v1,0x6c(sp)
beq s0,zero,0x002a54cc
_li v0,0x8
addiu v0,s7,-0x3
sltiu v0,v0,0xfc
beq v0,zero,0x002a672c
_li v0,0x8
bne s2,v0,0x002a672c
_sltiu v0,s7,0x5
beq v0,zero,0x002a6db0
_lw a0,0x68(sp)
lw v0,0x18(s6)
addiu v0,v0,-0x1
sltiu v0,v0,0x7fff
beq v0,zero,0x002a67e4
_nop
lw v0,0x1c(s6)
addiu v0,v0,-0x1
sltiu v0,v0,0x7fff
beq v0,zero,0x002a67e4
_andi v0,s4,0x2
beq v0,zero,0x002a594c
_addiu s5,sp,0x94
addu v1,s5,s7
or v0,s5,zero
sb zero,0x0(v0)
addiu v0,v0,0x1
bne v0,v1,0x002a5514
_lw t9,-0x70c0(gp)
jalr t9
_or a0,s6,zero
lw gp,0x28(sp)
andi v0,s7,0x1
beq v0,zero,0x002a605c
_lw t9,-0x70c0(gp)
lw t9,-0x7168(gp)
jalr t9
_or a0,s6,zero
lw gp,0x28(sp)
bne v0,zero,0x002a6dfc
_or s0,v0,zero
lw v0,0x2bc(s6)
beq v0,zero,0x002a5564
_nop
addiu s1,s7,0x1
lw v1,0x18(s6)
or a0,s6,zero
lw v0,0x1c(s6)
lw t9,-0x73f8(gp)
multu v1,v0
mflo v1
mfhi v0
sw v1,0x64(sp)
jalr t9
_sw v0,0x60(sp)
or v0,v0,v1
beq v0,zero,0x002a6a10
_lw gp,0x28(sp)
lw v1,0x64(sp)
or a0,s6,zero
lw v0,0x60(sp)
lw t9,-0x73f8(gp)
multu s1,v1
mflo s3
mfhi s2
mul v1,s1,v0
jalr t9
_addu s2,v1,s2
lw gp,0x28(sp)
or a3,v1,zero
ext a0,s2,0x0,0x1d
or a2,v0,zero
lw t9,-0x7ef0(gp)
jalr t9
_or a1,s3,zero
bne v0,zero,0x002a6a10
_lw gp,0x28(sp)
sltiu v1,v1,0xff
beq v1,zero,0x002a6a10
_lw v0,0x48(sp)
or a0,s6,zero
lw v1,0x6c(sp)
lw t9,-0x73f8(gp)
multu v0,v1
mflo a3
mfhi a2
sw a3,0x3c(sp)
jalr t9
_sw a2,0x38(sp)
lw a2,0x38(sp)
lw gp,0x28(sp)
sltu a0,v0,a2
bne a0,zero,0x002a6e50
_lw a3,0x3c(sp)
beq a2,v0,0x002a6e44
_lw v0,0x48(sp)
bne v0,zero,0x002a6080
_or a0,v0,zero
andi v0,s4,0x8
beq v0,zero,0x002a5660
_lw t9,-0x7168(gp)
lw t9,-0x71b4(gp)
jalr t9
_or a0,s6,zero
lw gp,0x28(sp)
bne v0,zero,0x002a5e74
_or s0,v0,zero
lw t9,-0x7168(gp)
jalr t9
_or a0,s6,zero
bne v0,zero,0x002a6f84
_lw gp,0x28(sp)
lw v1,0x58(sp)
lw v0,0x1dc(v1)
beq v0,zero,0x002a5820
_lw t9,-0x7404(gp)
lw v0,0x2c(v1)
beq v0,zero,0x002a5824
_or a0,s6,zero
lw a0,0x28(v1)
lw v1,0x26c(s6)
addu v0,v0,a0
addiu v0,v0,-0x1
sltu v0,v1,v0
bne v0,zero,0x002a5824
_or a0,s6,zero
lw t9,-0x7228(gp)
jalr t9
_or a0,s6,zero
lw gp,0x28(sp)
lw t9,-0x7464(gp)
jalr t9
_or a0,s6,zero
lw gp,0x28(sp)
b 0x002a5748
_or s6,v0,zero
addiu v0,s7,0x2210
lw a2,-0x7f64(gp)
lw a1,-0x7f64(gp)
li a3,0xdd
sw v0,0x1c(sp)
or a0,s5,zero
lw v0,-0x7fd0(gp)
addiu a2,a2,0x25c4
lw t9,-0x7990(gp)
addiu a1,a1,0x2560
addiu v0,v0,0x3e28
sw v0,0x18(sp)
lw v0,-0x7fc4(gp)
addiu v0,v0,-0x190
sw v0,0x14(sp)
li v0,0x1a9
jalr t9
_sw v0,0x10(sp)
beq s6,zero,0x002a5748
_lw gp,0x28(sp)
lw t9,-0x7228(gp)
or a0,s6,zero
jalr t9
_nop
or a0,s6,zero
lw gp,0x28(sp)
lw t9,-0x73a0(gp)
jalr t9
_or s6,zero,zero
lw gp,0x28(sp)
lw v1,0x34(sp)
or v0,s6,zero
lw a0,0x194(sp)
lw v1,0x0(v1)
bne a0,v1,0x002a7374
_lw ra,0x1bc(sp)
lw s8,0x1b8(sp)
lw s7,0x1b4(sp)
lw s6,0x1b0(sp)
lw s5,0x1ac(sp)
lw s4,0x1a8(sp)
lw s3,0x1a4(sp)
lw s2,0x1a0(sp)
lw s1,0x19c(sp)
lw s0,0x198(sp)
ldc1 f26,0x1d8(sp)
ldc1 f24,0x1d0(sp)
ldc1 f22,0x1c8(sp)
ldc1 f20,0x1c0(sp)
jr ra
_addiu sp,sp,0x1e0
lw a0,0x68(sp)
beq a0,zero,0x002a57b4
_lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw a0,0x40(sp)
beq a0,zero,0x002a57cc
_lw t9,-0x7518(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x73a0(gp)
jalr t9
_or a0,s6,zero
lw gp,0x28(sp)
b 0x002a5748
_or s6,v0,zero
addiu v0,a0,0x2210
lw a2,-0x7f64(gp)
lw a1,-0x7f64(gp)
li a3,0xce
lw t9,-0x76d0(gp)
ori a0,zero,0x8000
sw v0,0x14(sp)
addiu a2,a2,0x25c4
lw v0,-0x7fcc(gp)
addiu a1,a1,0x2560
addiu v0,v0,-0x62ac
jalr t9
_sw v0,0x10(sp)
b 0x002a5310
_lw gp,0x28(sp)
or a0,s6,zero
lw a3,0x54(sp)
lw a2,0x1c(s6)
jalr t9
_lw a1,0x18(s6)
lw gp,0x28(sp)
beq v0,zero,0x002a579c
_sw v0,0x7c(sp)
andi v0,s1,0x1
bne v0,zero,0x002a5e58
_addiu v0,s1,0x1
or v0,s1,zero
bne s2,zero,0x002a7070
_li v1,0x4
lw a1,0x1c(s6)
sltiu s0,v0,0x4
lw t9,-0x75e4(gp)
movz v1,v0,s0
lw a0,0x18(s6)
mul a1,v1,a1
jalr t9
_or s0,v1,zero
lw gp,0x28(sp)
beq v0,zero,0x002a700c
_sw v0,0x70(sp)
lw v1,0x1c(s6)
andi s4,s4,0x3
lw v0,0x18(s6)
lw t9,-0x7988(gp)
lw a0,0x70(sp)
mul v0,v0,v1
mul s2,v0,s0
jalr t9
_sw s2,0x50(sp)
or a1,zero,zero
lw gp,0x28(sp)
or a0,v0,zero
or a2,s2,zero
lw t9,-0x71dc(gp)
jalr t9
_or s0,v0,zero
li v0,0x1
beq s4,v0,0x002a6280
_lw gp,0x28(sp)
lw t9,-0x70c0(gp)
jalr t9
_or a0,s6,zero
li v1,-0x1
lw gp,0x28(sp)
beq v0,v1,0x002a70b8
_or s5,v0,zero
lw s8,-0x7f64(gp)
addiu v1,s1,-0x1
or s2,zero,zero
sw zero,0x40(sp)
andi v1,v1,0xff
sw s0,0x4c(sp)
addiu v0,s8,0x2590
sw v1,0x78(sp)
or s3,zero,zero
or v1,s6,zero
sw v0,0x38(sp)
li s4,-0x1
andi v0,s5,0x3f
or s6,s5,zero
or s5,v1,zero
sltiu a0,v0,0x7
beq a0,zero,0x002a5b5c
_lw v1,0x38(sp)
sll v0,v0,0x2
addu v0,v1,v0
lw v0,0x0(v0)
addu v0,v0,gp
jr v0
_nop
addu s0,s5,s7
or s2,s5,zero
lw t9,-0x70c0(gp)
addiu s2,s2,0x1
jalr t9
_or a0,s6,zero
lw gp,0x28(sp)
bne s0,s2,0x002a5954
_sb v0,-0x1(s2)
b 0x002a5534
_andi v0,s7,0x1
lw t9,-0x70c0(gp)
jalr t9
_or a0,s5,zero
lw gp,0x28(sp)
beq v0,s4,0x002a6c0c
_or s7,v0,zero
andi s6,s6,0x40
beq s6,zero,0x002a59b8
_lw t9,-0x70c0(gp)
lw t9,-0x7520(gp)
jalr t9
_or a0,s5,zero
lw gp,0x28(sp)
beq v0,s4,0x002a6fcc
_or s7,v0,zero
lw t9,-0x70c0(gp)
jalr t9
_or a0,s5,zero
or a0,s5,zero
lw gp,0x28(sp)
lw t9,-0x70c0(gp)
jalr t9
_andi s6,v0,0xff
addiu v0,s7,0x1
lw a1,0x1c(s5)
lw a2,0x18(s5)
addiu a0,a1,-0x1
subu a0,a0,s2
mul v1,a0,a2
addu a0,v1,s3
lw v1,0x40(sp)
mul a2,a0,s1
addu a0,a2,v1
bltz a0,0x002a6828
_lw gp,0x28(sp)
mul v1,v0,s1
addu a2,v1,a0
lw v1,0x50(sp)
sltu a2,v1,a2
bne a2,zero,0x002a6828
_lw v1,0x4c(sp)
blez v0,0x002a6074
_addu a0,v1,a0
b 0x002a5a30
_or a2,zero,zero
lw a1,0x1c(s5)
slt a1,s2,a1
beq a1,zero,0x002a5a50
_addu a1,a2,s3
lw v1,0x18(s5)
slt v1,a1,v1
beq v1,zero,0x002a5a50
_nop
sb s6,0x0(a0)
addiu a2,a2,0x1
bne a2,v0,0x002a5a2c
_addu a0,a0,s1
or s7,v0,zero
b 0x002a5b5c
_addu s3,s3,v0
lw t9,-0x70c0(gp)
jalr t9
_or a0,s5,zero
beq v0,s4,0x002a6bcc
_lw gp,0x28(sp)
andi s6,s6,0x40
bne s6,zero,0x002a5f24
_lw t9,-0x7520(gp)
lw a1,0x1c(s5)
or s8,s3,zero
lw a0,0x18(s5)
addiu a1,a1,-0x1
subu a1,a1,s2
mul v1,a1,a0
addu a1,v1,s3
lw v1,0x40(sp)
mul a0,a1,s1
addu a1,a0,v1
bltz a1,0x002a68a0
_addiu s6,v0,0x1
mul v1,s6,s1
addu a0,v1,a1
lw v1,0x50(sp)
sltu a0,v1,a0
bne a0,zero,0x002a68a0
_lw v1,0x4c(sp)
blez s6,0x002a606c
_addu s0,v1,a1
addiu s7,s3,0x1
addu s7,s7,v0
lw t9,-0x70c0(gp)
jalr t9
_or a0,s5,zero
lw v1,0x1c(s5)
slt v1,s2,v1
beq v1,zero,0x002a5b10
_lw gp,0x28(sp)
lw v1,0x18(s5)
slt v1,s8,v1
beq v1,zero,0x002a5b10
_nop
sb v0,0x0(s0)
addiu s8,s8,0x1
bne s7,s8,0x002a5ae0
_addu s0,s0,s1
or s7,s6,zero
andi v0,s6,0x1
bne v0,zero,0x002a5e44
_lw t9,-0x70c0(gp)
b 0x002a5b60
_addu s3,s3,s6
lw t9,-0x70c0(gp)
jalr t9
_or a0,s5,zero
beq v0,s4,0x002a6b78
_lw gp,0x28(sp)
li a0,0xff
andi v0,v0,0xff
beq v0,a0,0x002a5f14
_sw v0,0x40(sp)
or s3,zero,zero
lw t9,-0x70c0(gp)
jalr t9
_or a0,s5,zero
lw gp,0x28(sp)
beq v0,s4,0x002a61cc
_or s6,v0,zero
li a0,0x7
andi v0,v0,0x3f
bne v0,a0,0x002a592c
_sltiu a0,v0,0x7
lw v1,0x48(sp)
or s6,s5,zero
beq v1,zero,0x002a6304
_lw s0,0x4c(sp)
lw a0,0x6c(sp)
li v0,0x1
lw s4,0x64(sp)
beq v1,v0,0x002a6e98
_addiu t2,a0,-0x1
sltiu v1,s1,0x3
bne v1,zero,0x002a6a90
_lw a0,0x48(sp)
li v1,0x2
bne a0,v1,0x002a711c
_nop
lw v0,0x64(sp)
slt s7,s7,v0
bne s7,zero,0x002a74c4
_lw a0,0x68(sp)
lw v0,0x1c(s6)
blez v0,0x002a68e0
_lw t9,-0x78f0(gp)
lw v0,0x74(sp)
or s1,zero,zero
lw s3,-0x7fc8(gp)
or s4,zero,zero
lw s7,0x7c(sp)
li s2,0x1
ldc1 f24,-0x5af0(v0)
lw s5,0x54(sp)
addiu s3,s3,-0x2dd0
lw a3,0x18(s6)
or a1,zero,zero
lw t9,-0x798c(gp)
or a2,s4,zero
sw s5,0x14(sp)
or a0,s6,zero
jalr t9
_sw s2,0x10(sp)
beq v0,zero,0x002a5fb0
_lw gp,0x28(sp)
lw t1,0x18(s6)
blez t1,0x002a5f74
_or a3,zero,zero
lw t2,0x2d0(s6)
lw v1,0x2c0(s6)
lw t3,0x2bc(s6)
lw a2,0x8(t2)
sll v1,v1,0x2
lw a1,0x14(t2)
lw a0,0x20(t2)
sll a2,a2,0x2
sll a1,a1,0x2
sll a0,a0,0x2
addu a2,v0,a2
addu a1,v0,a1
b 0x002a5c88
_addu a0,v0,a0
addiu s0,s0,0x3
addiu a3,a3,0x1
addu v0,v0,v1
addu a2,a2,v1
addu a1,a1,v1
beq a3,t1,0x002a5f74
_addu a0,a0,v1
lbu t0,0x0(s0)
mtc1 t0,f0
cvt.d.W f0,f0
mul.D f0,f0,f24
cvt.s.D f0,f0
swc1 f0,0x0(a2)
lbu t0,0x1(s0)
mtc1 t0,f0
cvt.d.W f0,f0
mul.D f0,f0,f24
cvt.s.D f0,f0
swc1 f0,0x0(a1)
lbu t0,0x2(s0)
mtc1 t0,f0
cvt.d.W f0,f0
mul.D f0,f0,f24
cvt.s.D f0,f0
beq t3,zero,0x002a5c6c
_swc1 f0,0x0(a0)
lw t0,0x34(t2)
beq t0,zero,0x002a5f0c
_addiu t4,s0,0x4
lbu t5,0x3(s0)
or s0,t4,zero
lw t0,0x38(t2)
mtc1 t5,f0
sll t0,t0,0x2
addu t0,v0,t0
cvt.d.W f0,f0
mul.D f0,f0,f24
cvt.s.D f0,f0
b 0x002a5c70
_swc1 f0,0x0(t0)
lw t9,-0x70c0(gp)
jalr t9
_or a0,s5,zero
beq v0,s4,0x002a6c8c
_lw gp,0x28(sp)
andi s6,s6,0x40
beq s6,zero,0x002a5a60
_lw t9,-0x7520(gp)
jalr t9
_or a0,s5,zero
bne v0,s4,0x002a5a60
_lw gp,0x28(sp)
lw a0,0x68(sp)
or s6,s5,zero
lw s7,0x58(sp)
beq a0,zero,0x002a5d60
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x7518(gp)
jalr t9
_lw a0,0x70(sp)
addiu v0,s7,0x2210
lw gp,0x28(sp)
b 0x002a5df4
_li a3,0x1b4
lw t9,-0x70c0(gp)
jalr t9
_or a0,s5,zero
beq v0,s4,0x002a6c4c
_lw gp,0x28(sp)
andi s6,s6,0x40
bne s6,zero,0x002a5da8
_lw t9,-0x7520(gp)
addu s2,s2,v0
b 0x002a5b5c
_or s3,zero,zero
jalr t9
_or a0,s5,zero
bne v0,s4,0x002a5d9c
_lw gp,0x28(sp)
lw a0,0x68(sp)
or s6,s5,zero
lw s7,0x58(sp)
beq a0,zero,0x002a5ddc
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x7518(gp)
jalr t9
_lw a0,0x70(sp)
addiu v0,s7,0x2210
lw gp,0x28(sp)
li a3,0x19a
sw v0,0x1c(sp)
or a0,s5,zero
lw v0,-0x7fd0(gp)
lw a2,-0x7f64(gp)
lw a1,-0x7f64(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,0x25c4
sw v0,0x18(sp)
addiu a1,a1,0x2560
lw v0,-0x7fc4(gp)
addiu v0,v0,-0x17c
sw v0,0x14(sp)
li v0,0x1a9
jalr t9
_sw v0,0x10(sp)
or a0,s6,zero
lw gp,0x28(sp)
b 0x002a5728
_lw t9,-0x7228(gp)
or a0,s5,zero
jalr t9
_addu s3,s3,s6
b 0x002a5b5c
_lw gp,0x28(sp)
lw a1,0x64(sp)
lw a0,0x60(sp)
multu v0,a1
mfhi s2
mul a0,v0,a0
b 0x002a5850
_addu s2,a0,s2
lw t9,-0x73a4(gp)
li a1,0x1
jalr t9
_or a0,v0,zero
lw gp,0x28(sp)
beq v0,zero,0x002a73d8
_or s8,v0,zero
addiu v1,s0,-0x1
lw t9,-0x7b04(gp)
or a2,v0,zero
or a1,v1,zero
sw v1,0x38(sp)
jalr t9
_or a0,s6,zero
lw v1,0x38(sp)
bne v1,v0,0x002a7380
_lw gp,0x28(sp)
lw a1,-0x7fc8(gp)
addu v1,s8,v1
lw t9,-0x737c(gp)
or a0,s6,zero
lw a3,0x54(sp)
or a2,s8,zero
addiu a1,a1,-0x1928
sb zero,0x0(v1)
jalr t9
_andi s0,s0,0x1
lw gp,0x28(sp)
lw t9,-0x783c(gp)
jalr t9
_or a0,s8,zero
bne s0,zero,0x002a565c
_lw gp,0x28(sp)
lw t9,-0x70c0(gp)
jalr t9
_or a0,s6,zero
b 0x002a565c
_lw gp,0x28(sp)
b 0x002a5c70
_or s0,t4,zero
lw v0,0x78(sp)
or s3,zero,zero
b 0x002a5b5c
_sw v0,0x40(sp)
jalr t9
_or a0,s5,zero
bne v0,s4,0x002a5a88
_lw gp,0x28(sp)
lw a0,0x68(sp)
or s6,s5,zero
lw s7,0x58(sp)
beq a0,zero,0x002a5f58
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x7518(gp)
jalr t9
_lw a0,0x70(sp)
addiu v0,s7,0x2210
lw gp,0x28(sp)
b 0x002a5df4
_li a3,0x1c2
lw t9,-0x76cc(gp)
or a1,s5,zero
jalr t9
_or a0,s6,zero
beq v0,zero,0x002a5fb0
_lw gp,0x28(sp)
lw v1,0x3364(s6)
beq v1,zero,0x002a66f8
_lw v0,0x1c(s6)
addiu v1,s4,0x1
sltu a0,v1,s4
slt v0,v1,v0
or s4,v1,zero
bne v0,zero,0x002a5c00
_addu s1,a0,s1
sw s7,0x7c(sp)
lw v0,0x48(sp)
bne v0,zero,0x002a68e0
_lw t9,-0x78f0(gp)
lw t9,-0x7518(gp)
jalr t9
_lw a0,0x70(sp)
or a0,s6,zero
lw gp,0x28(sp)
lw t9,-0x7168(gp)
jalr t9
_sw v0,0x40(sp)
bne v0,zero,0x002a72ec
_lw gp,0x28(sp)
lw v1,0x58(sp)
lw v0,0x2c(v1)
beq v0,zero,0x002a6014
_lw t9,-0x70c0(gp)
lw a0,0x28(v1)
lw v1,0x26c(s6)
addu v0,v0,a0
addiu v0,v0,-0x1
sltu v0,v1,v0
beq v0,zero,0x002a603c
_nop
jalr t9
_or a0,s6,zero
li a1,0x2
lw gp,0x28(sp)
or a0,s6,zero
lw t9,-0x7b04(gp)
jalr t9
_lw a2,0x44(sp)
bne v0,zero,0x002a6640
_lw gp,0x28(sp)
lw t9,-0x7228(gp)
jalr t9
_or a0,s6,zero
lw v0,0x7c(sp)
bne v0,zero,0x002a56b8
_lw gp,0x28(sp)
b 0x002a57d0
_lw t9,-0x73a0(gp)
jalr t9
_or a0,s6,zero
b 0x002a553c
_lw gp,0x28(sp)
b 0x002a5b20
_or s7,zero,zero
or s7,zero,zero
b 0x002a5b5c
_addu s3,s3,v0
lw v0,0x5c(sp)
li a1,0x3
lw t9,-0x73a4(gp)
jalr t9
_sllv a1,a1,v0
lw gp,0x28(sp)
beq v0,zero,0x002a72c0
_sw v0,0x68(sp)
lw s7,0x48(sp)
or a1,zero,zero
lw v0,0x5c(sp)
lw s8,0x68(sp)
lw t9,-0x71dc(gp)
sllv v0,s7,v0
or a0,s8,zero
sll a2,v0,0x1
jalr t9
_addu a2,a2,v0
blez s7,0x002a7114
_lw gp,0x28(sp)
lw v0,-0x7fc8(gp)
sw s2,0x38(sp)
or s2,s5,zero
or s5,s4,zero
sw s3,0x3c(sp)
ldc1 f24,-0x5ae8(v0)
or s4,s1,zero
lw s1,0x6c(sp)
lw v0,-0x7fd0(gp)
addu s7,s8,s1
ldc1 f26,0x1410(v0)
lw t9,-0x71b4(gp)
or a0,s6,zero
jalr t9
_addiu s8,s8,0x1
mtc1 v0,f0
cvt.s.W f0,f0
c.un.S f0,f0
bc1t 0x002a61a8
_lw gp,0x28(sp)
mtc1 zero,f2
c.le.S f0,f2
bc1t 0x1,0x002a61a8
_nop
cvt.d.S f0,f0
div.D f0,f0,f20
c.le.D f24,f0
bc1t 0x2,0x002a61b0
_nop
add.D f0,f0,f22
c.le.D f26,f0
bc1t 0x3,0x002a61b8
_lui v1,0x8000
trunc.w.D f0,f0
mfc1 v0,f0
andi v0,v0,0xff
lw t9,-0x7168(gp)
or a0,s6,zero
jalr t9
_sb v0,-0x1(s8)
bne v0,zero,0x002a620c
_lw gp,0x28(sp)
bne s7,s8,0x002a6100
_lw t9,-0x71b4(gp)
lw v0,0x48(sp)
addiu s0,s0,0x1
bne v0,s0,0x002a60f4
_lw v0,-0x7fd0(gp)
or s1,s4,zero
lw s7,0x48(sp)
or s4,s5,zero
or s5,s2,zero
b 0x002a5638
_lw s2,0x38(sp)
b 0x002a6160
_or v0,zero,zero
b 0x002a6160
_li v0,0xff
sub.D D f0,f0,f26
trunc.w.D f0,f0
mfc1 v0,f0
b 0x002a615c
_or v0,v0,v1
lw a0,0x68(sp)
or s6,s5,zero
lw s7,0x58(sp)
beq a0,zero,0x002a61f0
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x7518(gp)
jalr t9
_lw a0,0x70(sp)
addiu v0,s7,0x2210
lw gp,0x28(sp)
b 0x002a5df4
_li a3,0x1fb
lw t9,-0x78f0(gp)
lw a0,0x68(sp)
lw s7,0x58(sp)
jalr t9
_lw s5,0x54(sp)
lw a0,0x40(sp)
beq a0,zero,0x002a623c
_lw gp,0x28(sp)
lw t9,-0x7518(gp)
jalr t9
_nop
lw gp,0x28(sp)
addiu v0,s7,0x2210
li a3,0x12b
sw v0,0x1c(sp)
or a0,s5,zero
lw v0,-0x7fd0(gp)
lw a2,-0x7f64(gp)
lw a1,-0x7f64(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,0x25c4
sw v0,0x18(sp)
addiu a1,a1,0x2560
lw v0,-0x7fc4(gp)
addiu v0,v0,-0x17c
sw v0,0x14(sp)
b 0x002a5e2c
_li v0,0x1a9
lw s7,0x64(sp)
blez s7,0x002a6df4
_or a2,zero,zero
addu a3,s5,s1
addiu t2,s1,-0x1
or t1,s0,zero
lw v0,0x2bc(s6)
beq v0,zero,0x002a62e4
_or v1,t1,zero
beq t2,zero,0x002a62c8
_or v0,t1,zero
addu a1,t1,t2
or v1,s5,zero
lbu a0,0x0(v1)
addiu v0,v0,0x1
addiu v1,v1,0x1
bne a1,v0,0x002a62b4
_sb a0,-0x1(v0)
addiu t1,v0,0x1
sb zero,0x0(v0)
addiu a2,a2,0x1
bne s7,a2,0x002a6298
_lw t9,-0x70c0(gp)
b 0x002a58d4
_nop
or v0,s5,zero
lbu a0,0x0(v0)
addiu v1,v1,0x1
addiu v0,v0,0x1
bne v0,a3,0x002a62e8
_sb a0,-0x1(v1)
b 0x002a62d0
_addu t1,t1,s1
sltiu s1,s1,0x3
beq s1,zero,0x002a6bb8
_lw t9,-0x771c(gp)
li a1,0x100
lw a2,0x54(sp)
jalr t9
_or a0,s5,zero
beq v0,zero,0x002a725c
_lw gp,0x28(sp)
lw v0,0x2bc(s6)
beq v0,zero,0x002a68f4
_lw v1,0x1c(s6)
blez v1,0x002a6604
_lw v0,0x74(sp)
or s1,zero,zero
lw s4,-0x7fd0(gp)
or s8,s0,zero
lw s3,-0x7f64(gp)
ldc1 f24,-0x5af0(v0)
lw s5,-0x7fcc(gp)
addiu s4,s4,0x3e28
lw s7,0x54(sp)
addiu s3,s3,0x25ac
sw zero,0x40(sp)
lw a3,0x18(s6)
li v0,0x1
lw t9,-0x798c(gp)
or a1,zero,zero
sw s7,0x14(sp)
or a2,s1,zero
sw v0,0x10(sp)
jalr t9
_or a0,s6,zero
lw gp,0x28(sp)
beq v0,zero,0x002a6604
_or s0,v0,zero
lw v0,0x18(s6)
blez v0,0x002a65c0
_lw v0,-0x7fc4(gp)
or s2,zero,zero
b 0x002a64b0
_sw v0,0x38(sp)
li v1,0x58
cvt.s.W f0,f0
trunc.w.S f0,f0
mfc1 v0,f0
mul v0,v0,v1
lw v1,0x28(s6)
lw a1,0x2d0(s6)
addu v0,v1,v0
ldc1 f0,0x28(v0)
lw v0,0x8(a1)
sll v0,v0,0x2
addu v0,s0,v0
cvt.s.D f0,f0
swc1 f0,0x0(v0)
lbu v0,0x1(s8)
slt a2,v0,a0
beq a2,zero,0x002a6568
_mtc1 v0,f0
li a2,0x58
cvt.s.W f0,f0
trunc.w.S f0,f0
mfc1 v0,f0
mul v0,v0,a2
addu v0,v1,v0
lw a2,0x14(a1)
ldc1 f0,0x30(v0)
sll v0,a2,0x2
addu v0,s0,v0
cvt.s.D f0,f0
swc1 f0,0x0(v0)
lbu v0,0x2(s8)
slt a0,v0,a0
beq a0,zero,0x002a6514
_mtc1 v0,f0
li a0,0x58
cvt.s.W f0,f0
trunc.w.S f0,f0
mfc1 v0,f0
mul v0,v0,a0
addu v1,v1,v0
lw v0,0x20(a1)
lw a0,0x34(a1)
addiu s8,s8,0x4
ldc1 f0,0x38(v1)
sll v0,v0,0x2
addu v0,s0,v0
cvt.s.D f0,f0
beq a0,zero,0x002a6494
_swc1 f0,0x0(v0)
lbu v1,-0x1(s8)
lw v0,0x38(a1)
mtc1 v1,f0
sll v0,v0,0x2
addu v0,s0,v0
cvt.d.W f0,f0
mul.D f0,f0,f24
cvt.s.D f0,f0
swc1 f0,0x0(v0)
lw v1,0x2c0(s6)
addiu s2,s2,0x1
lw v0,0x18(s6)
sll v1,v1,0x2
slt v0,s2,v0
beq v0,zero,0x002a65c0
_addu s0,s0,v1
lbu v0,0x0(s8)
lw a0,0x24(s6)
slt v1,v0,a0
bne v1,zero,0x002a63ac
_mtc1 v0,f0
lw v1,0x0(s7)
li v0,0x1a9
beq v1,v0,0x002a6628
_lw t9,-0x7990(gp)
addiu a0,s6,0x340
addiu v1,s5,-0x5990
sw s4,0x18(sp)
sw a0,0x1c(sp)
li a3,0x30
sw v1,0x14(sp)
or a2,s3,zero
sw v0,0x10(sp)
lw a0,0x38(sp)
addiu a1,a0,0x6f4
jalr t9
_or a0,s7,zero
or v0,zero,zero
lw gp,0x28(sp)
b 0x002a63c0
_lw a0,0x24(s6)
lw a0,0x0(s7)
li v0,0x1a9
beq a0,v0,0x002a6638
_addiu a0,s6,0x340
lw t9,-0x7990(gp)
addiu v1,s5,-0x5990
sw s4,0x18(sp)
sw a0,0x1c(sp)
li a3,0x30
sw v1,0x14(sp)
or a2,s3,zero
sw v0,0x10(sp)
lw a0,0x38(sp)
addiu a1,a0,0x6f4
jalr t9
_or a0,s7,zero
or v0,zero,zero
lw gp,0x28(sp)
lw v1,0x28(s6)
b 0x002a6448
_lw a1,0x2d0(s6)
lw a2,0x0(s7)
li v0,0x1a9
beq a2,v0,0x002a6630
_lw t9,-0x7990(gp)
addiu a0,s6,0x340
addiu v1,s5,-0x5990
sw s4,0x18(sp)
sw a0,0x1c(sp)
li a3,0x30
sw v1,0x14(sp)
or a2,s3,zero
sw v0,0x10(sp)
lw a0,0x38(sp)
addiu a1,a0,0x6f4
jalr t9
_or a0,s7,zero
or v0,zero,zero
lw gp,0x28(sp)
lw v1,0x28(s6)
lw a0,0x24(s6)
b 0x002a6408
_lw a1,0x2d0(s6)
lw t9,-0x76cc(gp)
or a1,s7,zero
jalr t9
_or a0,s6,zero
beq v0,zero,0x002a6604
_lw gp,0x28(sp)
lw v1,0x3364(s6)
beq v1,zero,0x002a67ac
_lw v0,0x1c(s6)
addiu v1,s1,0x1
sltu a0,v1,s1
slt v0,v1,v0
or s1,v1,zero
lw v1,0x40(sp)
addu v1,a0,v1
bne v0,zero,0x002a6364
_sw v1,0x40(sp)
lw t9,-0x78f0(gp)
jalr t9
_lw a0,0x28(s6)
lw gp,0x28(sp)
sw v0,0x28(s6)
li v0,0x1
sw zero,0x24(s6)
b 0x002a5fb4
_sw v0,0x0(s6)
b 0x002a63c0
_or v0,zero,zero
b 0x002a6408
_or v0,zero,zero
b 0x002a6448
_or v0,zero,zero
lhu s0,0x88(sp)
li v0,0x52cc
bne s0,v0,0x002a6040
_lw t9,-0x7228(gp)
lw t9,-0x7920(gp)
or a1,s6,zero
lw a0,0x58(sp)
jalr t9
_lw a2,0x54(sp)
lw gp,0x28(sp)
lw t9,-0x7440(gp)
jalr t9
_or a0,s6,zero
beq v0,zero,0x002a74b0
_lw gp,0x28(sp)
lw t9,-0x74a8(gp)
jalr t9
_or a0,s6,zero
lw gp,0x28(sp)
or a0,v0,zero
lw t9,-0x7594(gp)
jalr t9
_or s6,v0,zero
or a0,s6,zero
lw gp,0x28(sp)
or s3,v1,zero
lw t9,-0x73f8(gp)
jalr t9
_or s2,v0,zero
or a0,s6,zero
lw gp,0x28(sp)
or a3,s3,zero
or a2,s2,zero
sw v1,0x14(sp)
sw v0,0x10(sp)
lw a1,-0x7fc4(gp)
lw t9,-0x7bfc(gp)
jalr t9
_addiu a1,a1,-0x168
beq v0,zero,0x002a74b0
_lw gp,0x28(sp)
lhu v0,0x88(sp)
beq v0,s0,0x002a53b8
_lw t9,-0x7228(gp)
b 0x002a56ac
_nop
lw t9,-0x7bfc(gp)
or a2,s1,zero
sw v0,0x14(sp)
or a3,s4,zero
sw zero,0x10(sp)
or a1,s3,zero
jalr t9
_or a0,s6,zero
lw gp,0x28(sp)
beq v0,zero,0x002a5fb0
_or s7,v0,zero
b 0x002a5f98
_lw v0,0x1c(s6)
lw a0,0x68(sp)
lw s7,0x58(sp)
beq a0,zero,0x002a674c
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw a0,0x40(sp)
beq a0,zero,0x002a6768
_nop
lw t9,-0x7518(gp)
jalr t9
_nop
lw gp,0x28(sp)
addiu v0,s7,0x2210
li a3,0xf5
sw v0,0x1c(sp)
or a0,s5,zero
lw v0,-0x7fd0(gp)
lw a2,-0x7f64(gp)
lw a1,-0x7f64(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,0x25c4
sw v0,0x18(sp)
addiu a1,a1,0x2560
lw v0,-0x7fc4(gp)
addiu v0,v0,-0x190
sw v0,0x14(sp)
b 0x002a5e2c
_li v0,0x1a9
lw a1,-0x7fc8(gp)
or a3,s1,zero
lw t9,-0x7bfc(gp)
or a0,s6,zero
lw a2,0x40(sp)
addiu a1,a1,-0x2dd0
sw v0,0x14(sp)
jalr t9
_sw zero,0x10(sp)
lw gp,0x28(sp)
beq v0,zero,0x002a6604
_sw v0,0x7c(sp)
b 0x002a65e4
_lw v0,0x1c(s6)
lw s7,0x58(sp)
beq a0,zero,0x002a6800
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw a0,0x40(sp)
beq a0,zero,0x002a681c
_nop
lw t9,-0x7518(gp)
jalr t9
_nop
lw gp,0x28(sp)
addiu v0,s7,0x2210
b 0x002a6770
_li a3,0xfa
lw a0,0x68(sp)
or s6,s5,zero
lw s7,0x58(sp)
beq a0,zero,0x002a684c
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x7518(gp)
jalr t9
_lw a0,0x70(sp)
addiu v0,s7,0x2210
lw gp,0x28(sp)
li a3,0x1ea
sw v0,0x1c(sp)
or a0,s5,zero
lw v0,-0x7fd0(gp)
lw a2,-0x7f64(gp)
lw a1,-0x7f64(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,0x25c4
sw v0,0x18(sp)
addiu a1,a1,0x2560
lw v0,-0x7fc8(gp)
addiu v0,v0,-0x18cc
sw v0,0x14(sp)
b 0x002a5e2c
_li v0,0x1a9
lw a0,0x68(sp)
or s6,s5,zero
lw s7,0x58(sp)
beq a0,zero,0x002a68c4
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x7518(gp)
jalr t9
_lw a0,0x70(sp)
addiu v0,s7,0x2210
lw gp,0x28(sp)
b 0x002a6864
_li a3,0x1c9
jalr t9
_lw a0,0x68(sp)
lw gp,0x28(sp)
b 0x002a5fc0
_sw v0,0x68(sp)
blez v1,0x002a69c4
_lw s7,0x7c(sp)
lw s3,-0x7fc8(gp)
or s1,zero,zero
or s4,zero,zero
lw s5,0x54(sp)
li s2,0x1
addiu s3,s3,-0x2dd0
lw a3,0x18(s6)
or a1,zero,zero
lw t9,-0x798c(gp)
or a2,s4,zero
sw s5,0x14(sp)
or a0,s6,zero
jalr t9
_sw s2,0x10(sp)
beq v0,zero,0x002a69c0
_lw gp,0x28(sp)
lw a0,0x18(s6)
blez a0,0x002a6984
_addu a0,s0,a0
lw t0,0x2d0(s6)
lw a1,0x2c0(s6)
lw a2,0x40(t0)
sll a1,a1,0x2
beq a2,zero,0x002a697c
_addiu s0,s0,0x1
lbu a3,-0x1(s0)
lw v1,0x44(t0)
mtc1 a3,f0
sll v1,v1,0x2
addu v1,v0,v1
cvt.s.W f0,f0
swc1 f0,0x0(v1)
bne a0,s0,0x002a6958
_addu v0,v0,a1
lw t9,-0x76cc(gp)
or a1,s5,zero
jalr t9
_or a0,s6,zero
beq v0,zero,0x002a69c0
_lw gp,0x28(sp)
lw v1,0x3364(s6)
beq v1,zero,0x002a69dc
_lw v0,0x1c(s6)
addiu v1,s4,0x1
sltu a0,v1,s4
slt v0,v1,v0
or s4,v1,zero
bne v0,zero,0x002a6914
_addu s1,a0,s1
sw s7,0x7c(sp)
lw t9,-0x7b2c(gp)
or a0,s6,zero
jalr t9
_lw a1,0x54(sp)
b 0x002a5fb4
_lw gp,0x28(sp)
lw t9,-0x7bfc(gp)
or a2,s1,zero
sw v0,0x14(sp)
or a3,s4,zero
sw zero,0x10(sp)
or a1,s3,zero
jalr t9
_or a0,s6,zero
lw gp,0x28(sp)
beq v0,zero,0x002a69c0
_or s7,v0,zero
b 0x002a69a8
_lw v0,0x1c(s6)
lw v0,0x68(sp)
lw s7,0x58(sp)
beq v0,zero,0x002a6a30
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_lw a0,0x68(sp)
lw gp,0x28(sp)
lw a0,0x40(sp)
beq a0,zero,0x002a6a4c
_nop
lw t9,-0x7518(gp)
jalr t9
_nop
lw gp,0x28(sp)
addiu v0,s7,0x2210
li a3,0x116
sw v0,0x1c(sp)
or a0,s5,zero
lw v0,-0x7fd0(gp)
lw a2,-0x7f64(gp)
lw a1,-0x7f64(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,0x25c4
sw v0,0x18(sp)
addiu a1,a1,0x2560
lw v0,-0x7fc4(gp)
addiu v0,v0,0x4a0
sw v0,0x14(sp)
b 0x002a5e2c
_li v0,0x1a9
lw v0,0x64(sp)
slt s7,s7,v0
bne s7,zero,0x002a74c4
_lw a0,0x68(sp)
lw t9,-0x771c(gp)
or a0,s6,zero
lw a2,0x54(sp)
jalr t9
_lw a1,0x6c(sp)
beq v0,zero,0x002a725c
_lw gp,0x28(sp)
lw v1,0x48(sp)
li v0,0x1
beq v1,v0,0x002a6d5c
_nop
lw v1,0x24(s6)
blez v1,0x002a6328
_lw a2,0x6c(sp)
li a0,0x2
lw v0,0x74(sp)
lw a1,0x68(sp)
addu a3,v1,a2
lw v1,0x5c(sp)
ldc1 f2,-0x5af0(v0)
lw v0,0x28(s6)
addu a3,a1,a3
sllv a0,a0,v1
addu v1,a1,a2
addiu v0,v0,0x28
addu a0,a1,a0
lbu a2,0x0(a1)
addiu v0,v0,0x58
addiu v1,v1,0x1
addiu a0,a0,0x1
mtc1 a2,f0
addiu a1,a1,0x1
cvt.d.W f0,f0
mul.D f0,f0,f2
cvt.s.D f0,f0
cvt.d.S f0,f0
sdc1 f0,-0x58(v0)
lbu a2,-0x1(v1)
mtc1 a2,f0
cvt.d.W f0,f0
mul.D f0,f0,f2
cvt.s.D f0,f0
cvt.d.S f0,f0
sdc1 f0,-0x50(v0)
lbu a2,-0x1(a0)
mtc1 a2,f0
cvt.d.W f0,f0
mul.D f0,f0,f2
cvt.s.D f0,f0
cvt.d.S f0,f0
bne v1,a3,0x002a6b08
_sdc1 f0,-0x48(v0)
b 0x002a632c
_lw v0,0x2bc(s6)
lw a0,0x68(sp)
or s6,s5,zero
lw s7,0x58(sp)
beq a0,zero,0x002a6b9c
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x7518(gp)
jalr t9
_lw a0,0x70(sp)
addiu v0,s7,0x2210
lw gp,0x28(sp)
b 0x002a5df4
_li a3,0x1a4
lw v0,0x1c(s5)
bgtz v0,0x002a5be0
_lw v0,0x74(sp)
b 0x002a5fc4
_lw t9,-0x7518(gp)
lw a0,0x68(sp)
or s6,s5,zero
lw s7,0x58(sp)
beq a0,zero,0x002a6bf0
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x7518(gp)
jalr t9
_lw a0,0x70(sp)
addiu v0,s7,0x2210
lw gp,0x28(sp)
b 0x002a5df4
_li a3,0x1bd
lw a0,0x68(sp)
or s6,s5,zero
lw s7,0x58(sp)
beq a0,zero,0x002a6c30
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x7518(gp)
jalr t9
_lw a0,0x70(sp)
addiu v0,s7,0x2210
lw gp,0x28(sp)
b 0x002a5df4
_li a3,0x1dc
lw a0,0x68(sp)
or s6,s5,zero
lw s7,0x58(sp)
beq a0,zero,0x002a6c70
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x7518(gp)
jalr t9
_lw a0,0x70(sp)
addiu v0,s7,0x2210
lw gp,0x28(sp)
b 0x002a5df4
_li a3,0x195
lw a0,0x68(sp)
or s6,s5,zero
lw s7,0x58(sp)
beq a0,zero,0x002a6cb0
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x7518(gp)
jalr t9
_lw a0,0x70(sp)
addiu v0,s7,0x2210
lw gp,0x28(sp)
b 0x002a5df4
_li a3,0x1af
lw a0,0x68(sp)
lw s7,0x58(sp)
beq a0,zero,0x002a6cec
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw a0,0x40(sp)
beq a0,zero,0x002a6d08
_nop
lw t9,-0x7518(gp)
jalr t9
_nop
lw gp,0x28(sp)
addiu v0,s7,0x2210
b 0x002a6770
_li a3,0xee
lw a0,0x68(sp)
lw s7,0x58(sp)
beq a0,zero,0x002a6d34
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw a0,0x40(sp)
beq a0,zero,0x002a6d50
_nop
lw t9,-0x7518(gp)
jalr t9
_nop
lw gp,0x28(sp)
addiu v0,s7,0x2210
b 0x002a6244
_li a3,0xf0
lw a1,0x24(s6)
blez a1,0x002a6328
_lw v0,0x74(sp)
or v1,zero,zero
ldc1 f2,-0x5af0(v0)
lw v0,0x28(s6)
addiu v0,v0,0x28
andi a0,v1,0xff
mtc1 a0,f0
addiu v0,v0,0x58
addiu v1,v1,0x1
cvt.d.W f0,f0
mul.D f0,f0,f2
cvt.s.D f0,f0
cvt.d.S f0,f0
sdc1 f0,-0x58(v0)
sdc1 f0,-0x50(v0)
bne a1,v1,0x002a6d78
_sdc1 f0,-0x48(v0)
b 0x002a632c
_lw v0,0x2bc(s6)
lw s7,0x58(sp)
beq a0,zero,0x002a6dcc
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw a0,0x40(sp)
beq a0,zero,0x002a6de8
_nop
lw t9,-0x7518(gp)
jalr t9
_nop
lw gp,0x28(sp)
addiu v0,s7,0x2210
b 0x002a6770
_li a3,0xf7
b 0x002a58d0
_or s7,zero,zero
lw a0,0x68(sp)
lw s7,0x58(sp)
beq a0,zero,0x002a6e1c
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw a0,0x40(sp)
beq a0,zero,0x002a6e38
_nop
lw t9,-0x7518(gp)
jalr t9
_nop
lw gp,0x28(sp)
addiu v0,s7,0x2210
b 0x002a6244
_li a3,0x110
sltu v1,v1,a3
beq v1,zero,0x002a5630
_nop
lw a0,0x68(sp)
lw s7,0x58(sp)
beq a0,zero,0x002a6e70
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw a0,0x40(sp)
beq a0,zero,0x002a6e8c
_nop
lw t9,-0x7518(gp)
jalr t9
_nop
lw gp,0x28(sp)
addiu v0,s7,0x2210
b 0x002a6a54
_li a3,0x118
blez s4,0x002a6f68
_addu s3,s0,s4
lw s7,-0x7fd0(gp)
addiu v1,s5,0x340
lw s4,-0x7fc4(gp)
lw s5,-0x7fcc(gp)
or s2,s0,zero
lw s8,-0x7f64(gp)
addiu s7,s7,0x3e28
sw s1,0x38(sp)
addiu s4,s4,0x6f4
sw s0,0x40(sp)
addiu s5,s5,-0x5990
lw s0,0x68(sp)
b 0x002a6ef8
_lw s1,0x54(sp)
cvt.s.W f0,f0
trunc.w.S f0,f0
mfc1 v0,f0
addu v0,s0,v0
lbu v0,0x0(v0)
addiu s2,s2,0x1
beq s2,s3,0x002a6f60
_sb v0,-0x1(s2)
lbu v0,0x0(s2)
lw a0,0x24(s6)
and v0,v0,t2
slt a0,v0,a0
bne a0,zero,0x002a6ed8
_mtc1 v0,f0
lw a0,0x0(s1)
li v0,0x1a9
beq a0,v0,0x002a6f7c
_lw t9,-0x7990(gp)
li a3,0x30
addiu a2,s8,0x25ac
sw t2,0x50(sp)
sw v1,0x1c(sp)
or a1,s4,zero
sw v1,0x4c(sp)
or a0,s1,zero
sw s7,0x18(sp)
sw s5,0x14(sp)
jalr t9
_sw v0,0x10(sp)
or v0,s0,zero
lw gp,0x28(sp)
lw v1,0x4c(sp)
b 0x002a6ee8
_lw t2,0x50(sp)
lw s1,0x38(sp)
lw s0,0x40(sp)
sltiu s1,s1,0x3
bne s1,zero,0x002a6aa4
_lw t9,-0x771c(gp)
b 0x002a5bd4
_lw v0,0x1c(s6)
b 0x002a6ee8
_or v0,s0,zero
lw a0,0x68(sp)
lw s7,0x58(sp)
beq a0,zero,0x002a6fa4
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw a0,0x40(sp)
beq a0,zero,0x002a6fc0
_nop
lw t9,-0x7518(gp)
jalr t9
_nop
lw gp,0x28(sp)
addiu v0,s7,0x2210
b 0x002a6244
_li a3,0x14d
lw a0,0x68(sp)
or s6,s5,zero
lw s7,0x58(sp)
beq a0,zero,0x002a6ff0
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x7518(gp)
jalr t9
_lw a0,0x70(sp)
addiu v0,s7,0x2210
lw gp,0x28(sp)
b 0x002a5df4
_li a3,0x1e1
lw a0,0x68(sp)
lw s7,0x58(sp)
beq a0,zero,0x002a702c
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
addiu v0,s7,0x2210
li a3,0x165
lw a2,-0x7f64(gp)
or a0,s5,zero
lw a1,-0x7f64(gp)
lw t9,-0x7990(gp)
sw v0,0x1c(sp)
addiu a2,a2,0x25c4
lw v0,-0x7fd0(gp)
addiu a1,a1,0x2560
addiu v0,v0,0x3e28
sw v0,0x18(sp)
lw v0,-0x7fd0(gp)
addiu v0,v0,0x16f8
sw v0,0x14(sp)
b 0x002a5e2c
_li v0,0x190
lw a0,0x68(sp)
lw s7,0x58(sp)
beq a0,zero,0x002a7090
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw a0,0x40(sp)
beq a0,zero,0x002a70ac
_nop
lw t9,-0x7518(gp)
jalr t9
_nop
lw gp,0x28(sp)
addiu v0,s7,0x2210
b 0x002a7034
_li a3,0x161
lw v0,0x48(sp)
lw s7,0x58(sp)
beq v0,zero,0x002a70dc
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_lw a0,0x68(sp)
lw gp,0x28(sp)
sw v0,0x68(sp)
lw a0,0x68(sp)
beq a0,zero,0x002a70f8
_nop
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x7518(gp)
jalr t9
_lw a0,0x70(sp)
addiu v0,s7,0x2210
lw gp,0x28(sp)
b 0x002a5df4
_li a3,0x18b
b 0x002a5638
_or s7,zero,zero
blez s4,0x002a5bd0
_lw s7,-0x7fc4(gp)
slt s2,zero,s1
movn v0,s1,s2
or s3,zero,zero
or s5,s0,zero
lw t1,0x54(sp)
sw s0,0x84(sp)
or s0,s3,zero
sw v0,0x4c(sp)
lw v0,-0x7fd0(gp)
lw s3,0x6c(sp)
sw s4,0x50(sp)
or s4,t2,zero
addiu v0,v0,0x3e28
sw v0,0x5c(sp)
lw v0,-0x7fcc(gp)
addiu v0,v0,-0x5990
sw v0,0x60(sp)
lw v0,-0x7f64(gp)
sw v0,0x78(sp)
addiu v0,s7,0x6f4
lw s7,0x68(sp)
sw v0,0x80(sp)
addiu t3,s6,0x340
sw s0,0x38(sp)
or s8,zero,zero
or s2,s5,zero
b 0x002a71c0
_or s0,t3,zero
cvt.s.W f0,f0
trunc.w.S f0,f0
mfc1 v0,f0
addu v0,s7,v0
lbu v0,0x0(v0)
addiu s2,s2,0x1
sb v0,-0x1(s2)
subu v0,s2,s5
slt v0,v0,s1
beq v0,zero,0x002a7230
_addu s8,s8,s3
lbu v0,0x0(s2)
lw v1,0x24(s6)
and v0,v0,s4
addu v0,v0,s8
slt v1,v0,v1
bne v1,zero,0x002a7194
_mtc1 v0,f0
lw v1,0x0(t1)
li v0,0x1a9
beq v1,v0,0x002a7254
_lw v1,0x78(sp)
li a3,0x30
lw t9,-0x7990(gp)
or a0,t1,zero
lw a1,0x80(sp)
addiu a2,v1,0x25ac
lw v1,0x5c(sp)
sw t1,0x40(sp)
sw s0,0x1c(sp)
sw v1,0x18(sp)
sw v0,0x10(sp)
lw v1,0x60(sp)
jalr t9
_sw v1,0x14(sp)
or v0,s7,zero
lw gp,0x28(sp)
b 0x002a71a4
_lw t1,0x40(sp)
lw v0,0x4c(sp)
lw s0,0x38(sp)
addu s5,s5,v0
lw v0,0x50(sp)
addiu s0,s0,0x1
bne s0,v0,0x002a7180
_addiu t3,s6,0x340
b 0x002a5bd0
_lw s0,0x84(sp)
b 0x002a71a4
_or v0,s7,zero
lw a0,0x68(sp)
lw s7,0x58(sp)
beq a0,zero,0x002a727c
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x7518(gp)
jalr t9
_lw a0,0x70(sp)
addiu v0,s7,0x2210
lw gp,0x28(sp)
li a3,0x246
sw v0,0x1c(sp)
or a0,s5,zero
lw v0,-0x7fd0(gp)
lw a2,-0x7f64(gp)
lw a1,-0x7f64(gp)
addiu v0,v0,0x3e28
lw t9,-0x7990(gp)
addiu a2,a2,0x25c4
addiu a1,a1,0x2560
b 0x002a705c
_sw v0,0x18(sp)
lw a0,0x40(sp)
lw s7,0x58(sp)
beq a0,zero,0x002a72e0
_lw s5,0x54(sp)
lw t9,-0x7518(gp)
jalr t9
_nop
lw gp,0x28(sp)
addiu v0,s7,0x2210
b 0x002a7034
_li a3,0x121
lw t9,-0x6f00(gp)
jalr t9
_lw s5,0x54(sp)
lw gp,0x28(sp)
lw t9,-0x74c4(gp)
jalr t9
_lw a0,0x0(v0)
addiu v1,s6,0x340
lw gp,0x28(sp)
or s0,v0,zero
sw v0,0x20(sp)
li a3,0x2ad
sw v1,0x1c(sp)
or a0,s5,zero
lw v0,-0x7fd0(gp)
lw a2,-0x7f64(gp)
lw a1,-0x7f64(gp)
addiu v0,v0,0xe78
lw t9,-0x7990(gp)
addiu a2,a2,0x25c4
sw v0,0x18(sp)
addiu a1,a1,0x2560
lw v0,-0x7fc4(gp)
addiu v0,v0,-0x17c
sw v0,0x14(sp)
li v0,0x1a9
jalr t9
_sw v0,0x10(sp)
lw gp,0x28(sp)
lw t9,-0x783c(gp)
jalr t9
_or a0,s0,zero
b 0x002a603c
_lw gp,0x28(sp)
lw t9,-0x784c(gp)
jalr t9
_nop
lw t9,-0x783c(gp)
or a0,s8,zero
lw s7,0x58(sp)
jalr t9
_lw s5,0x54(sp)
lw a0,0x68(sp)
beq a0,zero,0x002a73b0
_lw gp,0x28(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw a0,0x40(sp)
beq a0,zero,0x002a73cc
_nop
lw t9,-0x7518(gp)
jalr t9
_nop
lw gp,0x28(sp)
addiu v0,s7,0x2210
b 0x002a6244
_li a3,0x143
lw a0,0x68(sp)
lw s7,0x58(sp)
beq a0,zero,0x002a73f8
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw a0,0x40(sp)
beq a0,zero,0x002a7414
_nop
lw t9,-0x7518(gp)
jalr t9
_nop
lw gp,0x28(sp)
addiu v0,s7,0x2210
b 0x002a7034
_li a3,0x13e
lw a3,-0x7f64(gp)
li a2,0xd1
lw a1,-0x7f64(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,0x25d4
addiu a1,a1,0x2560
jalr t9
_addiu a0,a0,0x294c
lw a3,-0x7f64(gp)
li a2,0xd0
lw a1,-0x7f64(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,0x25d4
addiu a1,a1,0x2560
jalr t9
_addiu a0,a0,0x1cac
lw a3,-0x7f64(gp)
li a2,0xcc
lw a1,-0x7f64(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,0x25d4
addiu a1,a1,0x2560
jalr t9
_addiu a0,a0,0xda0
lw a3,-0x7f64(gp)
li a2,0xcb
lw a1,-0x7f64(gp)
lw a0,-0x7fd0(gp)
lw t9,-0x72a8(gp)
addiu a3,a3,0x25d4
addiu a1,a1,0x2560
jalr t9
_addiu a0,a0,0xd78
lw t9,-0x7228(gp)
jalr t9
_or a0,s6,zero
b 0x002a57cc
_lw gp,0x28(sp)
lw s7,0x58(sp)
beq a0,zero,0x002a74e0
_lw s5,0x54(sp)
lw t9,-0x78f0(gp)
jalr t9
_nop
lw gp,0x28(sp)
lw t9,-0x7518(gp)
jalr t9
_lw a0,0x70(sp)
addiu v0,s7,0x2210
lw gp,0x28(sp)
b 0x002a6864
_li a3,0x21a
(translation_unit "/* WARNING: Removing unreachable block (ram,0x002a6e44) */\n\nundefined4 * FUN_002a5290(int param_1,int *param_2)\n\n{\n  ulonglong uVar1;\n  ulonglong uVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  byte *pbVar12;\n  uint uVar13;\n  uint uVar14;\n  byte *pbVar15;\n  byte bVar23;\n  undefined *puVar16;\n  undefined *puVar17;\n  undefined4 uVar18;\n  byte *pbVar19;\n  double *pdVar20;\n  undefined *puVar21;\n  undefined4 *puVar22;\n  uint uVar24;\n  int iVar25;\n  int iVar26;\n  float *pfVar27;\n  float *pfVar28;\n  undefined *puVar29;\n  byte *pbVar30;\n  byte *pbVar31;\n  float *pfVar32;\n  undefined *puVar33;\n  int iVar34;\n  int iVar35;\n  int iVar36;\n  int iVar37;\n  uint uVar38;\n  uint uVar39;\n  byte *pbVar40;\n  byte *unaff_s8;\n  double dVar41;\n  double dVar42;\n  double dVar43;\n  double dVar44;\n  double dVar45;\n  longlong lVar46;\n  undefined8 uVar47;\n  undefined8 uVar48;\n  byte *local_1a0;\n  int *local_18c;\n  int local_188;\n  int local_180;\n  uint local_17c;\n  byte *local_178;\n  int local_164;\n  short local_158 [6];\n  byte local_14c [256];\n  int local_4c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  local_4c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == 0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (*(int *)(param_1 + 0x3210) != 0) {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n  }\n  if (param_2 == (int *)0x0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (param_2[7] != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  puVar4 = (undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n  iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2);\n  pbVar12 = unaff_s8;\n  if (iVar5 == 0) {\nLAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);\n    unaff_s8 = pbVar12;\n  }\n  else {\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }\n  while (local_4c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    param_1 = local_188 + 0x2210;\n    uVar6 = 0x143;\nLAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar17 = PTR_s_courses_003a88ec + -0x17c;\n    uVar18 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);\n    puVar22 = puVar4;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);\n    puVar4 = (undefined4 *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(puVar22);\n  }\n  return puVar4;\n}\n\n" comment (function_definition "undefined4 * FUN_002a5290(int param_1,int *param_2)\n\n{\n  ulonglong uVar1;\n  ulonglong uVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  byte *pbVar12;\n  uint uVar13;\n  uint uVar14;\n  byte *pbVar15;\n  byte bVar23;\n  undefined *puVar16;\n  undefined *puVar17;\n  undefined4 uVar18;\n  byte *pbVar19;\n  double *pdVar20;\n  undefined *puVar21;\n  undefined4 *puVar22;\n  uint uVar24;\n  int iVar25;\n  int iVar26;\n  float *pfVar27;\n  float *pfVar28;\n  undefined *puVar29;\n  byte *pbVar30;\n  byte *pbVar31;\n  float *pfVar32;\n  undefined *puVar33;\n  int iVar34;\n  int iVar35;\n  int iVar36;\n  int iVar37;\n  uint uVar38;\n  uint uVar39;\n  byte *pbVar40;\n  byte *unaff_s8;\n  double dVar41;\n  double dVar42;\n  double dVar43;\n  double dVar44;\n  double dVar45;\n  longlong lVar46;\n  undefined8 uVar47;\n  undefined8 uVar48;\n  byte *local_1a0;\n  int *local_18c;\n  int local_188;\n  int local_180;\n  uint local_17c;\n  byte *local_178;\n  int local_164;\n  short local_158 [6];\n  byte local_14c [256];\n  int local_4c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  local_4c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == 0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (*(int *)(param_1 + 0x3210) != 0) {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n  }\n  if (param_2 == (int *)0x0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (param_2[7] != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  puVar4 = (undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n  iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2);\n  pbVar12 = unaff_s8;\n  if (iVar5 == 0) {\nLAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);\n    unaff_s8 = pbVar12;\n  }\n  else {\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }\n  while (local_4c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    param_1 = local_188 + 0x2210;\n    uVar6 = 0x143;\nLAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar17 = PTR_s_courses_003a88ec + -0x17c;\n    uVar18 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);\n    puVar22 = puVar4;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);\n    puVar4 = (undefined4 *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(puVar22);\n  }\n  return puVar4;\n}" type_identifier (pointer_declarator "* FUN_002a5290(int param_1,int *param_2)" * (function_declarator "FUN_002a5290(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  ulonglong uVar1;\n  ulonglong uVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  byte *pbVar12;\n  uint uVar13;\n  uint uVar14;\n  byte *pbVar15;\n  byte bVar23;\n  undefined *puVar16;\n  undefined *puVar17;\n  undefined4 uVar18;\n  byte *pbVar19;\n  double *pdVar20;\n  undefined *puVar21;\n  undefined4 *puVar22;\n  uint uVar24;\n  int iVar25;\n  int iVar26;\n  float *pfVar27;\n  float *pfVar28;\n  undefined *puVar29;\n  byte *pbVar30;\n  byte *pbVar31;\n  float *pfVar32;\n  undefined *puVar33;\n  int iVar34;\n  int iVar35;\n  int iVar36;\n  int iVar37;\n  uint uVar38;\n  uint uVar39;\n  byte *pbVar40;\n  byte *unaff_s8;\n  double dVar41;\n  double dVar42;\n  double dVar43;\n  double dVar44;\n  double dVar45;\n  longlong lVar46;\n  undefined8 uVar47;\n  undefined8 uVar48;\n  byte *local_1a0;\n  int *local_18c;\n  int local_188;\n  int local_180;\n  uint local_17c;\n  byte *local_178;\n  int local_164;\n  short local_158 [6];\n  byte local_14c [256];\n  int local_4c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  local_4c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == 0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (*(int *)(param_1 + 0x3210) != 0) {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n  }\n  if (param_2 == (int *)0x0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (param_2[7] != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  puVar4 = (undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n  iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2);\n  pbVar12 = unaff_s8;\n  if (iVar5 == 0) {\nLAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);\n    unaff_s8 = pbVar12;\n  }\n  else {\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }\n  while (local_4c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    param_1 = local_188 + 0x2210;\n    uVar6 = 0x143;\nLAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar17 = PTR_s_courses_003a88ec + -0x17c;\n    uVar18 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);\n    puVar22 = puVar4;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);\n    puVar4 = (undefined4 *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(puVar22);\n  }\n  return puVar4;\n}" { (declaration "ulonglong uVar1;" type_identifier identifier ;) (declaration "ulonglong uVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "byte *pbVar15;" type_identifier (pointer_declarator "*pbVar15" * identifier) ;) (declaration "byte bVar23;" type_identifier identifier ;) (declaration "undefined *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "undefined *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "undefined4 uVar18;" type_identifier identifier ;) (declaration "byte *pbVar19;" type_identifier (pointer_declarator "*pbVar19" * identifier) ;) (declaration "double *pdVar20;" primitive_type (pointer_declarator "*pdVar20" * identifier) ;) (declaration "undefined *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "undefined4 *puVar22;" type_identifier (pointer_declarator "*puVar22" * identifier) ;) (declaration "uint uVar24;" type_identifier identifier ;) (declaration "int iVar25;" primitive_type identifier ;) (declaration "int iVar26;" primitive_type identifier ;) (declaration "float *pfVar27;" primitive_type (pointer_declarator "*pfVar27" * identifier) ;) (declaration "float *pfVar28;" primitive_type (pointer_declarator "*pfVar28" * identifier) ;) (declaration "undefined *puVar29;" type_identifier (pointer_declarator "*puVar29" * identifier) ;) (declaration "byte *pbVar30;" type_identifier (pointer_declarator "*pbVar30" * identifier) ;) (declaration "byte *pbVar31;" type_identifier (pointer_declarator "*pbVar31" * identifier) ;) (declaration "float *pfVar32;" primitive_type (pointer_declarator "*pfVar32" * identifier) ;) (declaration "undefined *puVar33;" type_identifier (pointer_declarator "*puVar33" * identifier) ;) (declaration "int iVar34;" primitive_type identifier ;) (declaration "int iVar35;" primitive_type identifier ;) (declaration "int iVar36;" primitive_type identifier ;) (declaration "int iVar37;" primitive_type identifier ;) (declaration "uint uVar38;" type_identifier identifier ;) (declaration "uint uVar39;" type_identifier identifier ;) (declaration "byte *pbVar40;" type_identifier (pointer_declarator "*pbVar40" * identifier) ;) (declaration "byte *unaff_s8;" type_identifier (pointer_declarator "*unaff_s8" * identifier) ;) (declaration "double dVar41;" primitive_type identifier ;) (declaration "double dVar42;" primitive_type identifier ;) (declaration "double dVar43;" primitive_type identifier ;) (declaration "double dVar44;" primitive_type identifier ;) (declaration "double dVar45;" primitive_type identifier ;) (declaration "longlong lVar46;" type_identifier identifier ;) (declaration "undefined8 uVar47;" type_identifier identifier ;) (declaration "undefined8 uVar48;" type_identifier identifier ;) (declaration "byte *local_1a0;" type_identifier (pointer_declarator "*local_1a0" * identifier) ;) (declaration "int *local_18c;" primitive_type (pointer_declarator "*local_18c" * identifier) ;) (declaration "int local_188;" primitive_type identifier ;) (declaration "int local_180;" primitive_type identifier ;) (declaration "uint local_17c;" type_identifier identifier ;) (declaration "byte *local_178;" type_identifier (pointer_declarator "*local_178" * identifier) ;) (declaration "int local_164;" primitive_type identifier ;) (declaration "short local_158 [6];" (sized_type_specifier "short" short) (array_declarator "local_158 [6]" identifier [ number_literal ]) ;) (declaration "byte local_14c [256];" type_identifier (array_declarator "local_14c [256]" identifier [ number_literal ]) ;) (declaration "int local_4c;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar3 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "local_4c = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_4c = *(int *)PTR___stack_chk_guard_003a9230" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_003a9230" * (cast_expression "(int *)PTR___stack_chk_guard_003a9230" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 == 0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" { (expression_statement "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);" (assignment_expression "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" identifier = (cast_expression "(undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (binary_expression "PTR_LAB_003a88e0 + 0xd78" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4" identifier + number_literal) ))))) ;) (return_statement "return puVar4;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3214) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3214) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3214)" * (cast_expression "(int *)(param_1 + 0x3214)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3214)" ( (binary_expression "param_1 + 0x3214" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" { (expression_statement "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);" (assignment_expression "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" identifier = (cast_expression "(undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (binary_expression "PTR_LAB_003a88e0 + 0xda0" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4" identifier + number_literal) ))))) ;) (return_statement "return puVar4;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x3210) != 0) {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3210) != 0)" ( (binary_expression "*(int *)(param_1 + 0x3210) != 0" (pointer_expression "*(int *)(param_1 + 0x3210)" * (cast_expression "(int *)(param_1 + 0x3210)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3210)" ( (binary_expression "param_1 + 0x3210" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n  }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" * (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210)" ( number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" identifier + number_literal) , (binary_expression "param_1 + 0x2210" identifier + number_literal) ))) ;) })) (if_statement "if (param_2 == (int *)0x0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" if (parenthesized_expression "(param_2 == (int *)0x0)" ( (binary_expression "param_2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" { (expression_statement "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);" (assignment_expression "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" identifier = (cast_expression "(undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1cac" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4" identifier + number_literal) ))))) ;) (return_statement "return puVar4;" return identifier ;) })) (if_statement "if (param_2[7] != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" if (parenthesized_expression "(param_2[7] != -0x54535255)" ( (binary_expression "param_2[7] != -0x54535255" (subscript_expression "param_2[7]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" { (expression_statement "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);" (assignment_expression "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" identifier = (cast_expression "(undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (binary_expression "PTR_LAB_003a88e0 + 0x294c" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4" identifier + number_literal) ))))) ;) (return_statement "return puVar4;" return identifier ;) })) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2)" (parenthesized_expression "(*(code *)PTR_AcquireImage_003a960c)" ( (pointer_expression "*(code *)PTR_AcquireImage_003a960c" * (cast_expression "(code *)PTR_AcquireImage_003a960c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2)" ( identifier , identifier ))))) ;) (expression_statement "iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2);" (assignment_expression "iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2)" identifier = (call_expression "(*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2)" (parenthesized_expression "(*(code *)PTR_OpenBlob_003a924c)" ( (pointer_expression "*(code *)PTR_OpenBlob_003a924c" * (cast_expression "(code *)PTR_OpenBlob_003a924c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar4,2,param_2)" ( identifier , identifier , number_literal , identifier )))) ;) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) (if_statement "if (iVar5 == 0) {\nLAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);\n    unaff_s8 = pbVar12;\n  }\n  else {\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);\n    unaff_s8 = pbVar12;\n  }" { (labeled_statement "LAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);" statement_identifier : (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(puVar4)" (parenthesized_expression "(*(code *)PTR_DestroyImageList_003a9510)" ( (pointer_expression "*(code *)PTR_DestroyImageList_003a9510" * (cast_expression "(code *)PTR_DestroyImageList_003a9510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))))) ;)) (expression_statement "unaff_s8 = pbVar12;" (assignment_expression "unaff_s8 = pbVar12" identifier = identifier) ;) }) (else_clause "else {\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }" else (compound_statement "{\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }" { (expression_statement "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158)" identifier = (call_expression "(*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158)" (parenthesized_expression "(*(code *)PTR_ReadBlob_003a8dac)" ( (pointer_expression "*(code *)PTR_ReadBlob_003a8dac" * (cast_expression "(code *)PTR_ReadBlob_003a8dac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,2,local_158)" ( identifier , number_literal , identifier )))) ;) (expression_statement "puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;" (assignment_expression "puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8" identifier = identifier) ;) (if_statement "if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }" if (parenthesized_expression "((iVar5 == 2) && (local_158[0] == 0x52cc))" ( (binary_expression "(iVar5 == 2) && (local_158[0] == 0x52cc)" (parenthesized_expression "(iVar5 == 2)" ( (binary_expression "iVar5 == 2" identifier == number_literal) )) && (parenthesized_expression "(local_158[0] == 0x52cc)" ( (binary_expression "local_158[0] == 0x52cc" (subscript_expression "local_158[0]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }" { (expression_statement "local_178 = (byte *)0x0;" (assignment_expression "local_178 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_1a0 = (byte *)0x0;" (assignment_expression "local_1a0 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);" (assignment_expression "dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" identifier = (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) ))))) ;) (do_statement "do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);" do (compound_statement "{\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      }" { (expression_statement "uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);" (assignment_expression "uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" (parenthesized_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)" ( (pointer_expression "*(code *)PTR_ReadBlobLSBShort_003a96fc" * (cast_expression "(code *)PTR_ReadBlobLSBShort_003a96fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "puVar17 = PTR_ReadBlobLSBShort_003a96fc;" (assignment_expression "puVar17 = PTR_ReadBlobLSBShort_003a96fc" identifier = identifier) ;) (expression_statement "puVar4[0x8c] = uVar6;" (assignment_expression "puVar4[0x8c] = uVar6" (subscript_expression "puVar4[0x8c]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar6 = (*(code *)puVar17)(puVar4);" (assignment_expression "uVar6 = (*(code *)puVar17)(puVar4)" identifier = (call_expression "(*(code *)puVar17)(puVar4)" (parenthesized_expression "(*(code *)puVar17)" ( (pointer_expression "*(code *)puVar17" * (cast_expression "(code *)puVar17" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "puVar17 = PTR_ReadBlobLSBShort_003a96fc;" (assignment_expression "puVar17 = PTR_ReadBlobLSBShort_003a96fc" identifier = identifier) ;) (expression_statement "puVar4[0x8d] = uVar6;" (assignment_expression "puVar4[0x8d] = uVar6" (subscript_expression "puVar4[0x8d]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar6 = (*(code *)puVar17)(puVar4);" (assignment_expression "uVar6 = (*(code *)puVar17)(puVar4)" identifier = (call_expression "(*(code *)puVar17)(puVar4)" (parenthesized_expression "(*(code *)puVar17)" ( (pointer_expression "*(code *)puVar17" * (cast_expression "(code *)puVar17" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "puVar17 = PTR_ReadBlobLSBShort_003a96fc;" (assignment_expression "puVar17 = PTR_ReadBlobLSBShort_003a96fc" identifier = identifier) ;) (expression_statement "puVar4[6] = uVar6;" (assignment_expression "puVar4[6] = uVar6" (subscript_expression "puVar4[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar6 = (*(code *)puVar17)(puVar4);" (assignment_expression "uVar6 = (*(code *)puVar17)(puVar4)" identifier = (call_expression "(*(code *)puVar17)(puVar4)" (parenthesized_expression "(*(code *)puVar17)" ( (pointer_expression "*(code *)puVar17" * (cast_expression "(code *)puVar17" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "puVar17 = PTR_ReadBlobByte_003a97f0;" (assignment_expression "puVar17 = PTR_ReadBlobByte_003a97f0" identifier = identifier) ;) (expression_statement "puVar4[7] = uVar6;" (assignment_expression "puVar4[7] = uVar6" (subscript_expression "puVar4[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar7 = (*(code *)puVar17)(puVar4);" (assignment_expression "uVar7 = (*(code *)puVar17)(puVar4)" identifier = (call_expression "(*(code *)puVar17)(puVar4)" (parenthesized_expression "(*(code *)puVar17)" ( (pointer_expression "*(code *)puVar17" * (cast_expression "(code *)puVar17" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "puVar4[0xaf] = uVar7 & 4;" (assignment_expression "puVar4[0xaf] = uVar7 & 4" (subscript_expression "puVar4[0xaf]" identifier [ number_literal ]) = (binary_expression "uVar7 & 4" identifier & number_literal)) ;) (expression_statement "uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier )))) ;) (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier )))) ;) (expression_statement "uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier )))) ;) (expression_statement "uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier )))) ;) (expression_statement "local_18c = param_2;" (assignment_expression "local_18c = param_2" identifier = identifier) ;) (expression_statement "local_188 = param_1;" (assignment_expression "local_188 = param_1" identifier = identifier) ;) (if_statement "if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }" if (parenthesized_expression "(0x15 < (uVar10 & 0xff))" ( (binary_expression "0x15 < (uVar10 & 0xff)" number_literal < (parenthesized_expression "(uVar10 & 0xff)" ( (binary_expression "uVar10 & 0xff" identifier & number_literal) ))) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0xee;" (assignment_expression "uVar6 = 0xee" identifier = number_literal) ;) (labeled_statement "LAB_002a6770:\n          param_1 = param_1 + 0x2210;" statement_identifier : (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;)) (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar17 = PTR_s_courses_003a88ec + -400;" (assignment_expression "puVar17 = PTR_s_courses_003a88ec + -400" identifier = (binary_expression "PTR_s_courses_003a88ec + -400" identifier + number_literal)) ;) (expression_statement "uVar18 = 0x1a9;" (assignment_expression "uVar18 = 0x1a9" identifier = number_literal) ;) (goto_statement "goto LAB_002a5e2c;" goto statement_identifier ;) })) (expression_statement "iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);" (assignment_expression "iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(puVar4)" (parenthesized_expression "(*(code *)PTR_EOFBlob_003a9748)" ( (pointer_expression "*(code *)PTR_EOFBlob_003a9748" * (cast_expression "(code *)PTR_EOFBlob_003a9748" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (if_statement "if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;) (expression_statement "uVar6 = 0xf0;" (assignment_expression "uVar6 = 0xf0" identifier = number_literal) ;) (goto_statement "goto LAB_002a6244;" goto statement_identifier ;) })) (expression_statement "uVar24 = 1 << (uVar10 & 0x1f);" (assignment_expression "uVar24 = 1 << (uVar10 & 0x1f)" identifier = (binary_expression "1 << (uVar10 & 0x1f)" number_literal << (parenthesized_expression "(uVar10 & 0x1f)" ( (binary_expression "uVar10 & 0x1f" identifier & number_literal) )))) ;) (if_statement "if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }" if (parenthesized_expression "(((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8))))" ( (binary_expression "((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))" (parenthesized_expression "((uVar8 & 0xfffffffd) == 0)" ( (binary_expression "(uVar8 & 0xfffffffd) == 0" (parenthesized_expression "(uVar8 & 0xfffffffd)" ( (binary_expression "uVar8 & 0xfffffffd" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))" ( (parenthesized_expression "(((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8))" ( (binary_expression "((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)" (parenthesized_expression "((uVar7 & 4) != 0 && (0xfb < uVar8 - 3))" ( (binary_expression "(uVar7 & 4) != 0 && (0xfb < uVar8 - 3)" (binary_expression "(uVar7 & 4) != 0" (parenthesized_expression "(uVar7 & 4)" ( (binary_expression "uVar7 & 4" identifier & number_literal) )) != number_literal) && (parenthesized_expression "(0xfb < uVar8 - 3)" ( (binary_expression "0xfb < uVar8 - 3" number_literal < (binary_expression "uVar8 - 3" identifier - number_literal)) ))) )) || (parenthesized_expression "(iVar5 != 8)" ( (binary_expression "iVar5 != 8" identifier != number_literal) ))) )) ))) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0xf5;" (assignment_expression "uVar6 = 0xf5" identifier = number_literal) ;) (goto_statement "goto LAB_002a6770;" goto statement_identifier ;) })) (if_statement "if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }" if (parenthesized_expression "(4 < uVar8)" ( (binary_expression "4 < uVar8" number_literal < identifier) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0xf7;" (assignment_expression "uVar6 = 0xf7" identifier = number_literal) ;) (goto_statement "goto LAB_002a6770;" goto statement_identifier ;) })) (if_statement "if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }" if (parenthesized_expression "((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1))" ( (binary_expression "(0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)" (parenthesized_expression "(0x7ffe < puVar4[6] - 1)" ( (binary_expression "0x7ffe < puVar4[6] - 1" number_literal < (binary_expression "puVar4[6] - 1" (subscript_expression "puVar4[6]" identifier [ number_literal ]) - number_literal)) )) || (parenthesized_expression "(0x7ffe < puVar4[7] - 1)" ( (binary_expression "0x7ffe < puVar4[7] - 1" number_literal < (binary_expression "puVar4[7] - 1" (subscript_expression "puVar4[7]" identifier [ number_literal ]) - number_literal)) ))) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0xfa;" (assignment_expression "uVar6 = 0xfa" identifier = number_literal) ;) (goto_statement "goto LAB_002a6770;" goto statement_identifier ;) })) (if_statement "if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }" if (parenthesized_expression "((uVar7 & 2) == 0)" ( (binary_expression "(uVar7 & 2) == 0" (parenthesized_expression "(uVar7 & 2)" ( (binary_expression "uVar7 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }" { (expression_statement "pbVar12 = local_14c;" (assignment_expression "pbVar12 = local_14c" identifier = identifier) ;) (do_statement "do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);" do (compound_statement "{\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          }" { (expression_statement "pbVar15 = pbVar12 + 1;" (assignment_expression "pbVar15 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) (expression_statement "bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier )))) ;) (expression_statement "*pbVar12 = bVar23;" (assignment_expression "*pbVar12 = bVar23" (pointer_expression "*pbVar12" * identifier) = identifier) ;) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" identifier = identifier) ;) }) while (parenthesized_expression "(local_14c + uVar8 != pbVar15)" ( (binary_expression "local_14c + uVar8 != pbVar15" (binary_expression "local_14c + uVar8" identifier + identifier) != identifier) )) ;) }) (else_clause "else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }" else (compound_statement "{\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }" { (expression_statement "pbVar12 = local_14c;" (assignment_expression "pbVar12 = local_14c" identifier = identifier) ;) (do_statement "do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);" do (compound_statement "{\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          }" { (expression_statement "*pbVar12 = 0;" (assignment_expression "*pbVar12 = 0" (pointer_expression "*pbVar12" * identifier) = number_literal) ;) (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar12 != local_14c + uVar8)" ( (binary_expression "pbVar12 != local_14c + uVar8" identifier != (binary_expression "local_14c + uVar8" identifier + identifier)) )) ;) (expression_statement "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier ))) ;) }))) (if_statement "if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }" if (parenthesized_expression "((uVar8 & 1) == 0)" ( (binary_expression "(uVar8 & 1) == 0" (parenthesized_expression "(uVar8 & 1)" ( (binary_expression "uVar8 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }" { (expression_statement "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier ))) ;) })) (expression_statement "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(puVar4)" (parenthesized_expression "(*(code *)PTR_EOFBlob_003a9748)" ( (pointer_expression "*(code *)PTR_EOFBlob_003a9748" * (cast_expression "(code *)PTR_EOFBlob_003a9748" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (if_statement "if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;) (expression_statement "uVar6 = 0x110;" (assignment_expression "uVar6 = 0x110" identifier = number_literal) ;) (goto_statement "goto LAB_002a6244;" goto statement_identifier ;) })) (expression_statement "uVar38 = uVar8;" (assignment_expression "uVar38 = uVar8" identifier = identifier) ;) (if_statement "if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }" if (parenthesized_expression "(puVar4[0xaf] != 0)" ( (binary_expression "puVar4[0xaf] != 0" (subscript_expression "puVar4[0xaf]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          uVar38 = uVar8 + 1;\n        }" { (expression_statement "uVar38 = uVar8 + 1;" (assignment_expression "uVar38 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];" (assignment_expression "uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7]" identifier = (binary_expression "(ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7]" (cast_expression "(ulonglong)(uint)puVar4[6]" ( (type_descriptor "ulonglong" type_identifier) ) (cast_expression "(uint)puVar4[6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar4[6]" identifier [ number_literal ]))) * (cast_expression "(ulonglong)(uint)puVar4[7]" ( (type_descriptor "ulonglong" type_identifier) ) (cast_expression "(uint)puVar4[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar4[7]" identifier [ number_literal ]))))) ;) (expression_statement "lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);" (assignment_expression "lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetBlobSize_003a94b8)" ( (pointer_expression "*(code *)PTR_GetBlobSize_003a94b8" * (cast_expression "(code *)PTR_GetBlobSize_003a94b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (if_statement "if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }" if (parenthesized_expression "(lVar46 == 0)" ( (binary_expression "lVar46 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }" { (labeled_statement "LAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" statement_identifier : (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (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 "(local_178)" ( identifier ))) ;) }))) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0x116;" (assignment_expression "uVar6 = 0x116" identifier = number_literal) ;) (labeled_statement "LAB_002a6a54:\n          param_1 = param_1 + 0x2210;" statement_identifier : (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;)) (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar17 = PTR_s_courses_003a88ec + 0x4a0;" (assignment_expression "puVar17 = PTR_s_courses_003a88ec + 0x4a0" identifier = (binary_expression "PTR_s_courses_003a88ec + 0x4a0" identifier + number_literal)) ;) (expression_statement "uVar18 = 0x1a9;" (assignment_expression "uVar18 = 0x1a9" identifier = number_literal) ;) (goto_statement "goto LAB_002a5e2c;" goto statement_identifier ;) })) (expression_statement "local_180 = (int)(uVar1 >> 0x20);" (assignment_expression "local_180 = (int)(uVar1 >> 0x20)" identifier = (cast_expression "(int)(uVar1 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar1 >> 0x20)" ( (binary_expression "uVar1 >> 0x20" identifier >> number_literal) )))) ;) (expression_statement "lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);" (assignment_expression "lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff)" identifier = (binary_expression "(ulonglong)uVar38 * (uVar1 & 0xffffffff)" (cast_expression "(ulonglong)uVar38" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (parenthesized_expression "(uVar1 & 0xffffffff)" ( (binary_expression "uVar1 & 0xffffffff" identifier & number_literal) )))) ;) (expression_statement "uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);" (assignment_expression "uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20)" identifier = (binary_expression "uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20)" (binary_expression "uVar38 * local_180" identifier * identifier) + (cast_expression "(int)((ulonglong)lVar46 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar46 >> 0x20)" ( (binary_expression "(ulonglong)lVar46 >> 0x20" (cast_expression "(ulonglong)lVar46" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))))) ;) (expression_statement "uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);" (assignment_expression "uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetBlobSize_003a94b8)" ( (pointer_expression "*(code *)PTR_GetBlobSize_003a94b8" * (cast_expression "(code *)PTR_GetBlobSize_003a94b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);" (assignment_expression "uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47)" identifier = (call_expression "(*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47)" (parenthesized_expression "(*(code *)PTR_FUN_003a89c0)" ( (pointer_expression "*(code *)PTR_FUN_003a89c0" * (cast_expression "(code *)PTR_FUN_003a89c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47)" ( (binary_expression "uVar39 & 0x1fffffff" identifier & number_literal) , (cast_expression "(int)lVar46" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(int)((ulonglong)uVar47 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar47 >> 0x20)" ( (binary_expression "(ulonglong)uVar47 >> 0x20" (cast_expression "(ulonglong)uVar47" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) , (cast_expression "(int)uVar47" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (if_statement "if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;" if (parenthesized_expression "(((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47))" ( (binary_expression "((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)" (parenthesized_expression "((int)((ulonglong)uVar47 >> 0x20) != 0)" ( (binary_expression "(int)((ulonglong)uVar47 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar47 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar47 >> 0x20)" ( (binary_expression "(ulonglong)uVar47 >> 0x20" (cast_expression "(ulonglong)uVar47" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) != number_literal) )) || (parenthesized_expression "(0xfe < (uint)uVar47)" ( (binary_expression "0xfe < (uint)uVar47" number_literal < (cast_expression "(uint)uVar47" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) (goto_statement "goto LAB_002a6a10;" goto statement_identifier ;)) (expression_statement "uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);" (assignment_expression "uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetBlobSize_003a94b8)" ( (pointer_expression "*(code *)PTR_GetBlobSize_003a94b8" * (cast_expression "(code *)PTR_GetBlobSize_003a94b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (if_statement "if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }" if (parenthesized_expression "(uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24)" ( (binary_expression "uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24" identifier < (binary_expression "(ulonglong)uVar9 * (ulonglong)uVar24" (cast_expression "(ulonglong)uVar9" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)uVar24" ( (type_descriptor "ulonglong" type_identifier) ) identifier))) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0x118;" (assignment_expression "uVar6 = 0x118" identifier = number_literal) ;) (goto_statement "goto LAB_002a6a54;" goto statement_identifier ;) })) (if_statement "if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (compound_statement "{\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }" { (expression_statement "local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));" (assignment_expression "local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f))" identifier = (cast_expression "(byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f))" (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 "(uVar9,3 << (uVar10 & 0x1f))" ( identifier , (binary_expression "3 << (uVar10 & 0x1f)" number_literal << (parenthesized_expression "(uVar10 & 0x1f)" ( (binary_expression "uVar10 & 0x1f" identifier & number_literal) ))) ))))) ;) (if_statement "if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }" if (parenthesized_expression "(local_178 == (byte *)0x0)" ( (binary_expression "local_178 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }" { (if_statement "if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0x121;" (assignment_expression "uVar6 = 0x121" identifier = number_literal) ;) (goto_statement "goto LAB_002a705c;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);" (call_expression "(*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3)" (parenthesized_expression "(*(code *)PTR_memset_003a96d4)" ( (pointer_expression "*(code *)PTR_memset_003a96d4" * (cast_expression "(code *)PTR_memset_003a96d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3)" ( identifier , number_literal , (binary_expression "(uVar9 << (uVar10 & 0x1f)) * 3" (parenthesized_expression "(uVar9 << (uVar10 & 0x1f))" ( (binary_expression "uVar9 << (uVar10 & 0x1f)" identifier << (parenthesized_expression "(uVar10 & 0x1f)" ( (binary_expression "uVar10 & 0x1f" identifier & number_literal) ))) )) * number_literal) ))) ;) (expression_statement "unaff_s8 = local_178;" (assignment_expression "unaff_s8 = local_178" identifier = identifier) ;) (if_statement "if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }" if (parenthesized_expression "((int)uVar9 < 1)" ( (binary_expression "(int)uVar9 < 1" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            uVar8 = 0;\n          }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }" else (compound_statement "{\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }" { (expression_statement "dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);" (assignment_expression "dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" identifier = (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8" identifier + number_literal) ))))) ;) (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);" do (compound_statement "{\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            }" { (expression_statement "pbVar15 = unaff_s8 + uVar24;" (assignment_expression "pbVar15 = unaff_s8 + uVar24" identifier = (binary_expression "unaff_s8 + uVar24" identifier + identifier)) ;) (expression_statement "dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);" (assignment_expression "dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ;) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) (do_statement "do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);" do (compound_statement "{\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              }" { (expression_statement "unaff_s8 = pbVar12 + 1;" (assignment_expression "unaff_s8 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" (parenthesized_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)" ( (pointer_expression "*(code *)PTR_ReadBlobLSBShort_003a96fc" * (cast_expression "(code *)PTR_ReadBlobLSBShort_003a96fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "puVar17 = PTR_EOFBlob_003a9748;" (assignment_expression "puVar17 = PTR_EOFBlob_003a9748" identifier = identifier) ;) (if_statement "if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }" if (parenthesized_expression "((float)iVar5 <= 0.0)" ( (binary_expression "(float)iVar5 <= 0.0" (cast_expression "(float)iVar5" ( (type_descriptor "float" primitive_type) ) identifier) <= number_literal) )) (compound_statement "{\n                  bVar23 = 0;\n                }" { (expression_statement "bVar23 = 0;" (assignment_expression "bVar23 = 0" identifier = number_literal) ;) }) (else_clause "else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }" else (if_statement "if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }" if (parenthesized_expression "((double)iVar5 / dVar43 < dVar45)" ( (binary_expression "(double)iVar5 / dVar43 < dVar45" (binary_expression "(double)iVar5 / dVar43" (cast_expression "(double)iVar5" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }" { (expression_statement "dVar41 = (double)iVar5 / dVar43 + dVar44;" (assignment_expression "dVar41 = (double)iVar5 / dVar43 + dVar44" identifier = (binary_expression "(double)iVar5 / dVar43 + dVar44" (binary_expression "(double)iVar5 / dVar43" (cast_expression "(double)iVar5" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier)) ;) (if_statement "if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }" if (parenthesized_expression "(dVar41 < dVar42)" ( (binary_expression "dVar41 < dVar42" identifier < identifier) )) (compound_statement "{\n                    bVar23 = (byte)(int)dVar41;\n                  }" { (expression_statement "bVar23 = (byte)(int)dVar41;" (assignment_expression "bVar23 = (byte)(int)dVar41" identifier = (cast_expression "(byte)(int)dVar41" ( (type_descriptor "byte" type_identifier) ) (cast_expression "(int)dVar41" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }" else (compound_statement "{\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }" { (expression_statement "bVar23 = (byte)(int)(dVar41 - dVar42);" (assignment_expression "bVar23 = (byte)(int)(dVar41 - dVar42)" identifier = (call_expression "(byte)(int)(dVar41 - dVar42)" (call_expression "(byte)(int)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "(dVar41 - dVar42)" ( (binary_expression "dVar41 - dVar42" identifier - identifier) )))) ;) }))) }) (else_clause "else {\n                  bVar23 = 0xff;\n                }" else (compound_statement "{\n                  bVar23 = 0xff;\n                }" { (expression_statement "bVar23 = 0xff;" (assignment_expression "bVar23 = 0xff" identifier = number_literal) ;) }))))) (expression_statement "*pbVar12 = bVar23;" (assignment_expression "*pbVar12 = bVar23" (pointer_expression "*pbVar12" * identifier) = identifier) ;) (expression_statement "iVar5 = (*(code *)puVar17)(puVar4);" (assignment_expression "iVar5 = (*(code *)puVar17)(puVar4)" identifier = (call_expression "(*(code *)puVar17)(puVar4)" (parenthesized_expression "(*(code *)puVar17)" ( (pointer_expression "*(code *)puVar17" * (cast_expression "(code *)puVar17" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (if_statement "if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (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 "(local_178)" ( identifier ))) ;) (if_statement "if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;) (expression_statement "uVar6 = 299;" (assignment_expression "uVar6 = 299" identifier = number_literal) ;) (goto_statement "goto LAB_002a6244;" goto statement_identifier ;) })) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar15 != unaff_s8)" ( (binary_expression "pbVar15 != unaff_s8" identifier != identifier) )) ;) (expression_statement "uVar13 = uVar13 + 1;" (assignment_expression "uVar13 = uVar13 + 1" identifier = (binary_expression "uVar13 + 1" identifier + number_literal)) ;) (expression_statement "uVar8 = uVar9;" (assignment_expression "uVar8 = uVar9" identifier = identifier) ;) }) while (parenthesized_expression "(uVar9 != uVar13)" ( (binary_expression "uVar9 != uVar13" identifier != identifier) )) ;) }))) })) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) (if_statement "if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }" if (parenthesized_expression "(((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0))" ( (binary_expression "((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)" (parenthesized_expression "((uVar7 & 8) != 0)" ( (binary_expression "(uVar7 & 8) != 0" (parenthesized_expression "(uVar7 & 8)" ( (binary_expression "uVar7 & 8" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)" ( (comma_expression "uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0" (assignment_expression "uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" (parenthesized_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)" ( (pointer_expression "*(code *)PTR_ReadBlobLSBShort_003a96fc" * (cast_expression "(code *)PTR_ReadBlobLSBShort_003a96fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) , (binary_expression "uVar13 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }" { (expression_statement "unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);" (assignment_expression "unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1)" identifier = (cast_expression "(byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,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 "(uVar13,1)" ( identifier , number_literal ))))) ;) (if_statement "if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }" if (parenthesized_expression "(unaff_s8 == (byte *)0x0)" ( (binary_expression "unaff_s8 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }" { (if_statement "if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0x13e;" (assignment_expression "uVar6 = 0x13e" identifier = number_literal) ;) (goto_statement "goto LAB_002a705c;" goto statement_identifier ;) })) (expression_statement "iVar11 = uVar13 - 1;" (assignment_expression "iVar11 = uVar13 - 1" identifier = (binary_expression "uVar13 - 1" identifier - number_literal)) ;) (expression_statement "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8)" identifier = (call_expression "(*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8)" (parenthesized_expression "(*(code *)PTR_ReadBlob_003a8dac)" ( (pointer_expression "*(code *)PTR_ReadBlob_003a8dac" * (cast_expression "(code *)PTR_ReadBlob_003a8dac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar11,unaff_s8)" ( identifier , identifier , identifier )))) ;) (expression_statement "puVar17 = PTR_SetImageProperty_003a9534;" (assignment_expression "puVar17 = PTR_SetImageProperty_003a9534" identifier = identifier) ;) (if_statement "if (iVar11 != iVar5) goto LAB_002a7380;" if (parenthesized_expression "(iVar11 != iVar5)" ( (binary_expression "iVar11 != iVar5" identifier != identifier) )) (goto_statement "goto LAB_002a7380;" goto statement_identifier ;)) (expression_statement "puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;" (assignment_expression "puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928" identifier + number_literal)) ;) (expression_statement "unaff_s8[iVar11] = 0;" (assignment_expression "unaff_s8[iVar11] = 0" (subscript_expression "unaff_s8[iVar11]" identifier [ identifier ]) = number_literal) ;) (expression_statement "(*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);" (call_expression "(*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2)" (parenthesized_expression "(*(code *)puVar17)" ( (pointer_expression "*(code *)puVar17" * (cast_expression "(code *)puVar17" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,puVar29,unaff_s8,param_2)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(unaff_s8);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(unaff_s8)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s8)" ( identifier ))) ;) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) (if_statement "if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }" if (parenthesized_expression "((uVar13 & 1) == 0)" ( (binary_expression "(uVar13 & 1) == 0" (parenthesized_expression "(uVar13 & 1)" ( (binary_expression "uVar13 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }" { (expression_statement "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier ))) ;) })) })) (expression_statement "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(puVar4)" (parenthesized_expression "(*(code *)PTR_EOFBlob_003a9748)" ( (pointer_expression "*(code *)PTR_EOFBlob_003a9748" * (cast_expression "(code *)PTR_EOFBlob_003a9748" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "unaff_s8 = pbVar12;" (assignment_expression "unaff_s8 = pbVar12" identifier = identifier) ;) (if_statement "if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;) (expression_statement "uVar6 = 0x14d;" (assignment_expression "uVar6 = 0x14d" identifier = number_literal) ;) (goto_statement "goto LAB_002a6244;" goto statement_identifier ;) })) (if_statement "if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;" if (parenthesized_expression "(((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))" ( (binary_expression "((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b])" (parenthesized_expression "((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0))" ( (binary_expression "(*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x1dc) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1dc) != 0" (pointer_expression "*(int *)(param_1 + 0x1dc)" * (cast_expression "(int *)(param_1 + 0x1dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1dc)" ( (binary_expression "param_1 + 0x1dc" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 0x2c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x2c) != 0" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) != number_literal) ))) )) && (parenthesized_expression "((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b])" ( (binary_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]" (binary_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U" (parenthesized_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28))" ( (binary_expression "*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) )) - number_literal) <= (cast_expression "(uint)puVar4[0x9b]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar4[0x9b]" identifier [ number_literal ]))) ))) )) (break_statement "break;" break ;)) (expression_statement "local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);" (assignment_expression "local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2)" identifier = (call_expression "(*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2)" (parenthesized_expression "(*(code *)PTR_SetImageExtent_003a94ac)" ( (pointer_expression "*(code *)PTR_SetImageExtent_003a94ac" * (cast_expression "(code *)PTR_SetImageExtent_003a94ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,puVar4[6],puVar4[7],param_2)" ( identifier , (subscript_expression "puVar4[6]" identifier [ number_literal ]) , (subscript_expression "puVar4[7]" identifier [ number_literal ]) , identifier )))) ;) (if_statement "if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }" if (parenthesized_expression "(local_164 == 0)" ( (binary_expression "local_164 == 0" identifier == number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (goto_statement "goto LAB_002a57d0;" goto statement_identifier ;) })) (expression_statement "uVar14 = uVar38 + 1;" (assignment_expression "uVar14 = uVar38 + 1" identifier = (binary_expression "uVar38 + 1" identifier + number_literal)) ;) (expression_statement "local_17c = (uint)uVar1;" (assignment_expression "local_17c = (uint)uVar1" identifier = (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar13 = uVar38;" (assignment_expression "uVar13 = uVar38" identifier = identifier) ;) (if_statement "if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }" if (parenthesized_expression "((uVar38 & 1) != 0)" ( (binary_expression "(uVar38 & 1) != 0" (parenthesized_expression "(uVar38 & 1)" ( (binary_expression "uVar38 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }" { (expression_statement "uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);" (assignment_expression "uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20)" identifier = (binary_expression "uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20)" (binary_expression "uVar14 * local_180" identifier * identifier) + (cast_expression "(int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20)" ( (binary_expression "(ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20" (binary_expression "(ulonglong)uVar14 * (uVar1 & 0xffffffff)" (cast_expression "(ulonglong)uVar14" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (parenthesized_expression "(uVar1 & 0xffffffff)" ( (binary_expression "uVar1 & 0xffffffff" identifier & number_literal) ))) >> number_literal) ))))) ;) (expression_statement "uVar13 = uVar14;" (assignment_expression "uVar13 = uVar14" identifier = identifier) ;) })) (if_statement "if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }" if (parenthesized_expression "(uVar39 != 0)" ( (binary_expression "uVar39 != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0x161;" (assignment_expression "uVar6 = 0x161" identifier = number_literal) ;) (goto_statement "goto LAB_002a705c;" goto statement_identifier ;) })) (expression_statement "uVar39 = 4;" (assignment_expression "uVar39 = 4" identifier = number_literal) ;) (if_statement "if (3 < uVar13) {\n          uVar39 = uVar13;\n        }" if (parenthesized_expression "(3 < uVar13)" ( (binary_expression "3 < uVar13" number_literal < identifier) )) (compound_statement "{\n          uVar39 = uVar13;\n        }" { (expression_statement "uVar39 = uVar13;" (assignment_expression "uVar39 = uVar13" identifier = identifier) ;) })) (expression_statement "iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);" (assignment_expression "iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7])" identifier = (call_expression "(*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7])" (parenthesized_expression "(*(code *)PTR_AcquireVirtualMemory_003a92cc)" ( (pointer_expression "*(code *)PTR_AcquireVirtualMemory_003a92cc" * (cast_expression "(code *)PTR_AcquireVirtualMemory_003a92cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4[6],uVar39 * puVar4[7])" ( (subscript_expression "puVar4[6]" identifier [ number_literal ]) , (binary_expression "uVar39 * puVar4[7]" identifier * (subscript_expression "puVar4[7]" identifier [ number_literal ])) )))) ;) (if_statement "if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (expression_statement "uVar6 = 0x165;" (assignment_expression "uVar6 = 0x165" identifier = number_literal) ;) (goto_statement "goto LAB_002a705c;" goto statement_identifier ;) })) (expression_statement "iVar25 = puVar4[7];" (assignment_expression "iVar25 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) (expression_statement "iVar11 = puVar4[6];" (assignment_expression "iVar11 = puVar4[6]" identifier = (subscript_expression "puVar4[6]" identifier [ number_literal ])) ;) (expression_statement "pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);" (assignment_expression "pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5)" identifier = (cast_expression "(byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5)" (parenthesized_expression "(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)" ( (pointer_expression "*(code *)PTR_GetVirtualMemoryBlob_003a8f28" * (cast_expression "(code *)PTR_GetVirtualMemoryBlob_003a8f28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);" (call_expression "(*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39)" (parenthesized_expression "(*(code *)PTR_memset_003a96d4)" ( (pointer_expression "*(code *)PTR_memset_003a96d4" * (cast_expression "(code *)PTR_memset_003a96d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar15,0,iVar11 * iVar25 * uVar39)" ( identifier , number_literal , (binary_expression "iVar11 * iVar25 * uVar39" (binary_expression "iVar11 * iVar25" identifier * identifier) * identifier) ))) ;) (if_statement "if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }" if (parenthesized_expression "((uVar7 & 3) == 1)" ( (binary_expression "(uVar7 & 3) == 1" (parenthesized_expression "(uVar7 & 3)" ( (binary_expression "uVar7 & 3" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (if_statement "if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }" if (parenthesized_expression "((int)local_17c < 1)" ( (binary_expression "(int)local_17c < 1" (cast_expression "(int)local_17c" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            uVar8 = 0;\n          }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }" else (compound_statement "{\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }" { (expression_statement "pbVar19 = pbVar15;" (assignment_expression "pbVar19 = pbVar15" identifier = identifier) ;) (do_statement "do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);" do (compound_statement "{\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            }" { (expression_statement "pbVar31 = local_14c;" (assignment_expression "pbVar31 = local_14c" identifier = identifier) ;) (expression_statement "pbVar40 = pbVar19;" (assignment_expression "pbVar40 = pbVar19" identifier = identifier) ;) (if_statement "if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }" if (parenthesized_expression "(puVar4[0xaf] == 0)" ( (binary_expression "puVar4[0xaf] == 0" (subscript_expression "puVar4[0xaf]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }" { (do_statement "do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);" do (compound_statement "{\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                }" { (expression_statement "pbVar30 = pbVar31 + 1;" (assignment_expression "pbVar30 = pbVar31 + 1" identifier = (binary_expression "pbVar31 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar40 = *pbVar31;" (assignment_expression "*pbVar40 = *pbVar31" (pointer_expression "*pbVar40" * identifier) = (pointer_expression "*pbVar31" * identifier)) ;) (expression_statement "pbVar31 = pbVar30;" (assignment_expression "pbVar31 = pbVar30" identifier = identifier) ;) (expression_statement "pbVar40 = pbVar40 + 1;" (assignment_expression "pbVar40 = pbVar40 + 1" identifier = (binary_expression "pbVar40 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar30 != local_14c + uVar38)" ( (binary_expression "pbVar30 != local_14c + uVar38" identifier != (binary_expression "local_14c + uVar38" identifier + identifier)) )) ;) (expression_statement "pbVar31 = pbVar19 + uVar38;" (assignment_expression "pbVar31 = pbVar19 + uVar38" identifier = (binary_expression "pbVar19 + uVar38" identifier + identifier)) ;) }) (else_clause "else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }" else (compound_statement "{\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }" { (if_statement "if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }" if (parenthesized_expression "(uVar38 - 1 != 0)" ( (binary_expression "uVar38 - 1 != 0" (binary_expression "uVar38 - 1" identifier - number_literal) != number_literal) )) (compound_statement "{\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }" { (expression_statement "pbVar30 = pbVar19 + (uVar38 - 1);" (assignment_expression "pbVar30 = pbVar19 + (uVar38 - 1)" identifier = (binary_expression "pbVar19 + (uVar38 - 1)" identifier + (parenthesized_expression "(uVar38 - 1)" ( (binary_expression "uVar38 - 1" identifier - number_literal) )))) ;) (expression_statement "pbVar31 = pbVar19;" (assignment_expression "pbVar31 = pbVar19" identifier = identifier) ;) (expression_statement "pbVar40 = local_14c;" (assignment_expression "pbVar40 = local_14c" identifier = identifier) ;) (do_statement "do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);" do (compound_statement "{\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  }" { (expression_statement "bVar23 = *pbVar40;" (assignment_expression "bVar23 = *pbVar40" identifier = (pointer_expression "*pbVar40" * identifier)) ;) (expression_statement "pbVar19 = pbVar31 + 1;" (assignment_expression "pbVar19 = pbVar31 + 1" identifier = (binary_expression "pbVar31 + 1" identifier + number_literal)) ;) (expression_statement "pbVar40 = pbVar40 + 1;" (assignment_expression "pbVar40 = pbVar40 + 1" identifier = (binary_expression "pbVar40 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar31 = bVar23;" (assignment_expression "*pbVar31 = bVar23" (pointer_expression "*pbVar31" * identifier) = identifier) ;) (expression_statement "pbVar31 = pbVar19;" (assignment_expression "pbVar31 = pbVar19" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar30 != pbVar19)" ( (binary_expression "pbVar30 != pbVar19" identifier != identifier) )) ;) })) (expression_statement "pbVar31 = pbVar19 + 1;" (assignment_expression "pbVar31 = pbVar19 + 1" identifier = (binary_expression "pbVar19 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar19 = 0;" (assignment_expression "*pbVar19 = 0" (pointer_expression "*pbVar19" * identifier) = number_literal) ;) }))) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "pbVar19 = pbVar31;" (assignment_expression "pbVar19 = pbVar31" identifier = identifier) ;) (expression_statement "uVar8 = local_17c;" (assignment_expression "uVar8 = local_17c" identifier = identifier) ;) }) while (parenthesized_expression "(local_17c != uVar7)" ( (binary_expression "local_17c != uVar7" identifier != identifier) )) ;) }))) })) (expression_statement "uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier )))) ;) (expression_statement "unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;" (assignment_expression "unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c" identifier = identifier) ;) (if_statement "if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }" if (parenthesized_expression "(uVar7 == 0xffffffff)" ( (binary_expression "uVar7 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }" { (if_statement "if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (compound_statement "{\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" { (expression_statement "local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);" (assignment_expression "local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" identifier = (cast_expression "(byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (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 "(local_178)" ( identifier ))))) ;) })) (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "uVar6 = 0x18b;" (assignment_expression "uVar6 = 0x18b" identifier = number_literal) ;) (labeled_statement "LAB_002a5df4:\n          param_1 = param_1 + 0x2210;" statement_identifier : (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;)) (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar17 = PTR_s_courses_003a88ec + -0x17c;" (assignment_expression "puVar17 = PTR_s_courses_003a88ec + -0x17c" identifier = (binary_expression "PTR_s_courses_003a88ec + -0x17c" identifier + number_literal)) ;) (expression_statement "uVar18 = 0x1a9;" (assignment_expression "uVar18 = 0x1a9" identifier = number_literal) ;) (expression_statement "unaff_s8 = pbVar12;" (assignment_expression "unaff_s8 = pbVar12" identifier = identifier) ;) (goto_statement "goto LAB_002a5e2c;" goto statement_identifier ;) })) (expression_statement "local_1a0 = (byte *)0x0;" (assignment_expression "local_1a0 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar7 = uVar7 & 0x3f;" (assignment_expression "uVar7 = uVar7 & 0x3f" identifier = (binary_expression "uVar7 & 0x3f" identifier & number_literal)) ;) (do_statement "do {\n          if (uVar7 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);" do (compound_statement "{\n          if (uVar7 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        }" { (if_statement "if (uVar7 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }" if (parenthesized_expression "(uVar7 < 7)" ( (binary_expression "uVar7 < 7" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }" { comment comment (expression_statement "puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))()" identifier = (cast_expression "(undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590))" * (cast_expression "(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590))" ( (binary_expression "&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(unaff_s8 + uVar7 * 4 + 0x2590)" * (cast_expression "(int *)(unaff_s8 + uVar7 * 4 + 0x2590)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s8 + uVar7 * 4 + 0x2590)" ( (binary_expression "unaff_s8 + uVar7 * 4 + 0x2590" (binary_expression "unaff_s8 + uVar7 * 4" identifier + (binary_expression "uVar7 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))))) ;) (return_statement "return puVar4;" return identifier ;) })) (expression_statement "uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier )))) ;) (expression_statement "puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;" (assignment_expression "puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c" identifier = identifier) ;) (if_statement "if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }" if (parenthesized_expression "(uVar7 == 0xffffffff)" ( (binary_expression "uVar7 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }" { (if_statement "if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "uVar6 = 0x1fb;" (assignment_expression "uVar6 = 0x1fb" identifier = number_literal) ;) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) (goto_statement "goto LAB_002a5df4;" goto statement_identifier ;) })) (expression_statement "uVar7 = uVar7 & 0x3f;" (assignment_expression "uVar7 = uVar7 & 0x3f" identifier = (binary_expression "uVar7 & 0x3f" identifier & number_literal)) ;) }) while (parenthesized_expression "(uVar7 != 7)" ( (binary_expression "uVar7 != 7" identifier != number_literal) )) ;) (if_statement "if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }" { (if_statement "if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }" if (parenthesized_expression "(uVar38 < 3)" ( (binary_expression "uVar38 < 3" identifier < number_literal) )) (compound_statement "{\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }" { (expression_statement "iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);" (assignment_expression "iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2)" identifier = (call_expression "(*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2)" (parenthesized_expression "(*(code *)PTR_AcquireImageColormap_003a9194)" ( (pointer_expression "*(code *)PTR_AcquireImageColormap_003a9194" * (cast_expression "(code *)PTR_AcquireImageColormap_003a9194" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,0x100,param_2)" ( identifier , number_literal , identifier )))) ;) (if_statement "if (iVar11 != 0) goto LAB_002a6328;" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (goto_statement "goto LAB_002a6328;" goto statement_identifier ;)) (labeled_statement "LAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" statement_identifier : (if_statement "if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) }))) (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "uVar6 = 0x246;" (assignment_expression "uVar6 = 0x246" identifier = number_literal) ;) (labeled_statement "LAB_002a705c:\n            param_1 = param_1 + 0x2210;" statement_identifier : (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;)) (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar17 = PTR_LAB_003a88e0 + 0x16f8;" (assignment_expression "puVar17 = PTR_LAB_003a88e0 + 0x16f8" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x16f8" identifier + number_literal)) ;) (expression_statement "uVar18 = 400;" (assignment_expression "uVar18 = 400" identifier = number_literal) ;) (goto_statement "goto LAB_002a5e2c;" goto statement_identifier ;) })) (if_statement "if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }" if (parenthesized_expression "(0 < (int)puVar4[7])" ( (binary_expression "0 < (int)puVar4[7]" number_literal < (cast_expression "(int)puVar4[7]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[7]" identifier [ number_literal ]))) )) (compound_statement "{\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }" { (labeled_statement "LAB_002a5be0:\n            iVar11 = 0;" statement_identifier : (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;)) (expression_statement "dVar45 = *(double *)(puVar16 + -0x5af0);" (assignment_expression "dVar45 = *(double *)(puVar16 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar16 + -0x5af0)" * (cast_expression "(double *)(puVar16 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + -0x5af0)" ( (binary_expression "puVar16 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;" (assignment_expression "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0" identifier + number_literal)) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);" do (compound_statement "{\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            }" { (expression_statement "iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);" (assignment_expression "iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2)" identifier = (call_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2)" (parenthesized_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)" ( (pointer_expression "*(code *)PTR_QueueAuthenticPixels_003a8f24" * (cast_expression "(code *)PTR_QueueAuthenticPixels_003a8f24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,0,uVar8,puVar4[6],1,param_2)" ( identifier , number_literal , identifier , (subscript_expression "puVar4[6]" identifier [ number_literal ]) , number_literal , identifier )))) ;) (if_statement "if (iVar25 == 0) break;" if (parenthesized_expression "(iVar25 == 0)" ( (binary_expression "iVar25 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar35 = puVar4[6];" (assignment_expression "iVar35 = puVar4[6]" identifier = (subscript_expression "puVar4[6]" identifier [ number_literal ])) ;) (expression_statement "iVar34 = 0;" (assignment_expression "iVar34 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }" if (parenthesized_expression "(0 < iVar35)" ( (binary_expression "0 < iVar35" number_literal < identifier) )) (compound_statement "{\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }" { (expression_statement "iVar36 = puVar4[0xb4];" (assignment_expression "iVar36 = puVar4[0xb4]" identifier = (subscript_expression "puVar4[0xb4]" identifier [ number_literal ])) ;) (expression_statement "iVar26 = puVar4[0xb0];" (assignment_expression "iVar26 = puVar4[0xb0]" identifier = (subscript_expression "puVar4[0xb0]" identifier [ number_literal ])) ;) (expression_statement "iVar37 = puVar4[0xaf];" (assignment_expression "iVar37 = puVar4[0xaf]" identifier = (subscript_expression "puVar4[0xaf]" identifier [ number_literal ])) ;) (expression_statement "pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);" (assignment_expression "pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4)" identifier = (cast_expression "(float *)(iVar25 + *(int *)(iVar36 + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + *(int *)(iVar36 + 8) * 4)" ( (binary_expression "iVar25 + *(int *)(iVar36 + 8) * 4" identifier + (binary_expression "*(int *)(iVar36 + 8) * 4" (pointer_expression "*(int *)(iVar36 + 8)" * (cast_expression "(int *)(iVar36 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 8)" ( (binary_expression "iVar36 + 8" identifier + number_literal) )))) * number_literal)) )))) ;) (expression_statement "pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);" (assignment_expression "pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4)" identifier = (cast_expression "(float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + *(int *)(iVar36 + 0x14) * 4)" ( (binary_expression "iVar25 + *(int *)(iVar36 + 0x14) * 4" identifier + (binary_expression "*(int *)(iVar36 + 0x14) * 4" (pointer_expression "*(int *)(iVar36 + 0x14)" * (cast_expression "(int *)(iVar36 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 0x14)" ( (binary_expression "iVar36 + 0x14" identifier + number_literal) )))) * number_literal)) )))) ;) (expression_statement "pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);" (assignment_expression "pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4)" identifier = (cast_expression "(float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + *(int *)(iVar36 + 0x20) * 4)" ( (binary_expression "iVar25 + *(int *)(iVar36 + 0x20) * 4" identifier + (binary_expression "*(int *)(iVar36 + 0x20) * 4" (pointer_expression "*(int *)(iVar36 + 0x20)" * (cast_expression "(int *)(iVar36 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 0x20)" ( (binary_expression "iVar36 + 0x20" identifier + number_literal) )))) * number_literal)) )))) ;) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" identifier = identifier) ;) (do_statement "do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);" do (compound_statement "{\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                }" { (expression_statement "*pfVar32 = (float)((double)*pbVar12 * dVar45);" (assignment_expression "*pfVar32 = (float)((double)*pbVar12 * dVar45)" (pointer_expression "*pfVar32" * identifier) = (cast_expression "(float)((double)*pbVar12 * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar12 * dVar45)" ( (binary_expression "(double)*pbVar12 * dVar45" (cast_expression "(double)*pbVar12" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar12" * identifier)) * identifier) )))) ;) (expression_statement "*pfVar28 = (float)((double)pbVar12[1] * dVar45);" (assignment_expression "*pfVar28 = (float)((double)pbVar12[1] * dVar45)" (pointer_expression "*pfVar28" * identifier) = (cast_expression "(float)((double)pbVar12[1] * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar12[1] * dVar45)" ( (binary_expression "(double)pbVar12[1] * dVar45" (cast_expression "(double)pbVar12[1]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar12[1]" identifier [ number_literal ])) * identifier) )))) ;) (expression_statement "*pfVar27 = (float)((double)pbVar12[2] * dVar45);" (assignment_expression "*pfVar27 = (float)((double)pbVar12[2] * dVar45)" (pointer_expression "*pfVar27" * identifier) = (cast_expression "(float)((double)pbVar12[2] * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar12[2] * dVar45)" ( (binary_expression "(double)pbVar12[2] * dVar45" (cast_expression "(double)pbVar12[2]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar12[2]" identifier [ number_literal ])) * identifier) )))) ;) (if_statement "if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }" if (parenthesized_expression "(iVar37 == 0)" ( (binary_expression "iVar37 == 0" identifier == number_literal) )) (compound_statement "{\n                    pbVar15 = pbVar12 + 3;\n                  }" { (expression_statement "pbVar15 = pbVar12 + 3;" (assignment_expression "pbVar15 = pbVar12 + 3" identifier = (binary_expression "pbVar12 + 3" identifier + number_literal)) ;) }) (else_clause "else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }" else (compound_statement "{\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }" { (expression_statement "pbVar15 = pbVar12 + 4;" (assignment_expression "pbVar15 = pbVar12 + 4" identifier = (binary_expression "pbVar12 + 4" identifier + number_literal)) ;) (if_statement "if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }" if (parenthesized_expression "(*(int *)(iVar36 + 0x34) != 0)" ( (binary_expression "*(int *)(iVar36 + 0x34) != 0" (pointer_expression "*(int *)(iVar36 + 0x34)" * (cast_expression "(int *)(iVar36 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 0x34)" ( (binary_expression "iVar36 + 0x34" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }" { (expression_statement "*(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);" (assignment_expression "*(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45)" (pointer_expression "*(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4)" * (cast_expression "(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + *(int *)(iVar36 + 0x38) * 4)" ( (binary_expression "iVar25 + *(int *)(iVar36 + 0x38) * 4" identifier + (binary_expression "*(int *)(iVar36 + 0x38) * 4" (pointer_expression "*(int *)(iVar36 + 0x38)" * (cast_expression "(int *)(iVar36 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 0x38)" ( (binary_expression "iVar36 + 0x38" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)((double)pbVar12[3] * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar12[3] * dVar45)" ( (binary_expression "(double)pbVar12[3] * dVar45" (cast_expression "(double)pbVar12[3]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar12[3]" identifier [ number_literal ])) * identifier) )))) ;) })) }))) (expression_statement "iVar34 = iVar34 + 1;" (assignment_expression "iVar34 = iVar34 + 1" identifier = (binary_expression "iVar34 + 1" identifier + number_literal)) ;) (expression_statement "iVar25 = iVar25 + iVar26 * 4;" (assignment_expression "iVar25 = iVar25 + iVar26 * 4" identifier = (binary_expression "iVar25 + iVar26 * 4" identifier + (binary_expression "iVar26 * 4" identifier * number_literal))) ;) (expression_statement "pfVar32 = pfVar32 + iVar26;" (assignment_expression "pfVar32 = pfVar32 + iVar26" identifier = (binary_expression "pfVar32 + iVar26" identifier + identifier)) ;) (expression_statement "pfVar28 = pfVar28 + iVar26;" (assignment_expression "pfVar28 = pfVar28 + iVar26" identifier = (binary_expression "pfVar28 + iVar26" identifier + identifier)) ;) (expression_statement "pfVar27 = pfVar27 + iVar26;" (assignment_expression "pfVar27 = pfVar27 + iVar26" identifier = (binary_expression "pfVar27 + iVar26" identifier + identifier)) ;) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" identifier = identifier) ;) }) while (parenthesized_expression "(iVar34 != iVar35)" ( (binary_expression "iVar34 != iVar35" identifier != identifier) )) ;) })) (expression_statement "iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);" (assignment_expression "iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" identifier = (call_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" (parenthesized_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)" ( (pointer_expression "*(code *)PTR_SyncAuthenticPixels_003a91e4" * (cast_expression "(code *)PTR_SyncAuthenticPixels_003a91e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar25 == 0) break;" if (parenthesized_expression "(iVar25 == 0)" ( (binary_expression "iVar25 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar25 = puVar4[7];" (assignment_expression "iVar25 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) (if_statement "if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }" if (parenthesized_expression "(puVar4[0xcd9] == 0)" ( (binary_expression "puVar4[0xcd9] == 0" (subscript_expression "puVar4[0xcd9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }" { (expression_statement "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);" (assignment_expression "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25)" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25)" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,puVar17,iVar11,uVar8,0,iVar25)" ( identifier , identifier , identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (local_164 == 0) break;" if (parenthesized_expression "(local_164 == 0)" ( (binary_expression "local_164 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar25 = puVar4[7];" (assignment_expression "iVar25 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) })) (expression_statement "uVar7 = uVar8 + 1;" (assignment_expression "uVar7 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = (uint)(uVar7 < uVar8) + iVar11;" (assignment_expression "iVar11 = (uint)(uVar7 < uVar8) + iVar11" identifier = (binary_expression "(uint)(uVar7 < uVar8) + iVar11" (call_expression "(uint)(uVar7 < uVar8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar8)" ( (binary_expression "uVar7 < uVar8" identifier < identifier) ))) + identifier)) ;) (expression_statement "uVar8 = uVar7;" (assignment_expression "uVar8 = uVar7" identifier = identifier) ;) }) while (parenthesized_expression "((int)uVar7 < iVar25)" ( (binary_expression "(int)uVar7 < iVar25" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) ;) (goto_statement "goto LAB_002a5fb4;" goto statement_identifier ;) })) }) (else_clause "else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }" else (compound_statement "{\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }" { (if_statement "if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }" if (parenthesized_expression "(uVar9 == 1)" ( (binary_expression "uVar9 == 1" identifier == number_literal) )) (compound_statement "{\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }" { (if_statement "if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }" if (parenthesized_expression "(0 < (int)local_17c)" ( (binary_expression "0 < (int)local_17c" number_literal < (cast_expression "(int)local_17c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }" { (expression_statement "puVar21 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar21 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar29 = PTR_s_courses_003a88ec + 0x6f4;" (assignment_expression "puVar29 = PTR_s_courses_003a88ec + 0x6f4" identifier = (binary_expression "PTR_s_courses_003a88ec + 0x6f4" identifier + number_literal)) ;) (expression_statement "puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;" (assignment_expression "puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x5990" identifier + number_literal)) ;) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" identifier = identifier) ;) (do_statement "do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);" do (compound_statement "{\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              }" { (expression_statement "uVar8 = (uint)*pbVar12 & uVar24 - 1;" (assignment_expression "uVar8 = (uint)*pbVar12 & uVar24 - 1" identifier = (binary_expression "(uint)*pbVar12 & uVar24 - 1" (binary_expression "(uint)*pbVar12" (parenthesized_expression "(uint)" ( identifier )) * identifier) & (binary_expression "uVar24 - 1" identifier - number_literal))) ;) (if_statement "if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }" if (parenthesized_expression "((int)uVar8 < (int)puVar4[9])" ( (binary_expression "(int)uVar8 < (int)puVar4[9]" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)puVar4[9]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[9]" identifier [ number_literal ]))) )) (compound_statement "{\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }" { (expression_statement "pbVar19 = local_178 + (int)(float)uVar8;" (assignment_expression "pbVar19 = local_178 + (int)(float)uVar8" identifier = (binary_expression "local_178 + (int)(float)uVar8" identifier + (cast_expression "(int)(float)uVar8" ( (type_descriptor "int" primitive_type) ) (cast_expression "(float)uVar8" ( (type_descriptor "float" primitive_type) ) identifier)))) ;) }) (else_clause "else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }" else (compound_statement "{\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }" { (expression_statement "pbVar19 = local_178;" (assignment_expression "pbVar19 = local_178" identifier = identifier) ;) (if_statement "if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }" if (parenthesized_expression "(*param_2 != 0x1a9)" ( (binary_expression "*param_2 != 0x1a9" (pointer_expression "*param_2" * identifier) != number_literal) )) (compound_statement "{\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0)" ( identifier , identifier , (binary_expression "puVar17 + 0x25ac" identifier + number_literal) , number_literal , number_literal , identifier , identifier , (binary_expression "puVar4 + 0xd0" identifier + number_literal) ))) ;) })) }))) (expression_statement "pbVar31 = pbVar12 + 1;" (assignment_expression "pbVar31 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar12 = *pbVar19;" (assignment_expression "*pbVar12 = *pbVar19" (pointer_expression "*pbVar12" * identifier) = (pointer_expression "*pbVar19" * identifier)) ;) (expression_statement "pbVar12 = pbVar31;" (assignment_expression "pbVar12 = pbVar31" identifier = identifier) ;) (expression_statement "unaff_s8 = puVar17;" (assignment_expression "unaff_s8 = puVar17" identifier = identifier) ;) (expression_statement "local_1a0 = pbVar15;" (assignment_expression "local_1a0 = pbVar15" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar31 != pbVar15 + local_17c)" ( (binary_expression "pbVar31 != pbVar15 + local_17c" identifier != (binary_expression "pbVar15 + local_17c" identifier + identifier)) )) ;) })) (if_statement "if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }" if (parenthesized_expression "(2 < uVar38)" ( (binary_expression "2 < uVar38" number_literal < identifier) )) (compound_statement "{\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }" { (expression_statement "iVar11 = puVar4[7];" (assignment_expression "iVar11 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_002a5bd4;" goto statement_identifier ;) })) (labeled_statement "LAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);" statement_identifier : (expression_statement "iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);" (assignment_expression "iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2)" identifier = (call_expression "(*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2)" (parenthesized_expression "(*(code *)PTR_AcquireImageColormap_003a9194)" ( (pointer_expression "*(code *)PTR_AcquireImageColormap_003a9194" * (cast_expression "(code *)PTR_AcquireImageColormap_003a9194" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,uVar24,param_2)" ( identifier , identifier , identifier )))) ;)) (if_statement "if (iVar11 == 0) goto LAB_002a725c;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002a725c;" goto statement_identifier ;)) (if_statement "if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }" if (parenthesized_expression "(uVar9 == 1)" ( (binary_expression "uVar9 == 1" identifier == number_literal) )) (compound_statement "{\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }" { (expression_statement "uVar8 = puVar4[9];" (assignment_expression "uVar8 = puVar4[9]" identifier = (subscript_expression "puVar4[9]" identifier [ number_literal ])) ;) (if_statement "if ((int)uVar8 < 1) goto LAB_002a6328;" if (parenthesized_expression "((int)uVar8 < 1)" ( (binary_expression "(int)uVar8 < 1" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_002a6328;" goto statement_identifier ;)) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "dVar45 = *(double *)(puVar16 + -0x5af0);" (assignment_expression "dVar45 = *(double *)(puVar16 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar16 + -0x5af0)" * (cast_expression "(double *)(puVar16 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + -0x5af0)" ( (binary_expression "puVar16 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "pdVar20 = (double *)(puVar4[10] + 0x28);" (assignment_expression "pdVar20 = (double *)(puVar4[10] + 0x28)" identifier = (cast_expression "(double *)(puVar4[10] + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4[10] + 0x28)" ( (binary_expression "puVar4[10] + 0x28" (subscript_expression "puVar4[10]" identifier [ number_literal ]) + number_literal) )))) ;) (do_statement "do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);" do (compound_statement "{\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              }" { (expression_statement "uVar10 = uVar7 & 0xff;" (assignment_expression "uVar10 = uVar7 & 0xff" identifier = (binary_expression "uVar7 & 0xff" identifier & number_literal)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "dVar42 = (double)(float)((double)uVar10 * dVar45);" (assignment_expression "dVar42 = (double)(float)((double)uVar10 * dVar45)" identifier = (cast_expression "(double)(float)((double)uVar10 * dVar45)" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)((double)uVar10 * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)uVar10 * dVar45)" ( (binary_expression "(double)uVar10 * dVar45" (cast_expression "(double)uVar10" ( (type_descriptor "double" primitive_type) ) identifier) * identifier) ))))) ;) (expression_statement "*pdVar20 = dVar42;" (assignment_expression "*pdVar20 = dVar42" (pointer_expression "*pdVar20" * identifier) = identifier) ;) (expression_statement "pdVar20[1] = dVar42;" (assignment_expression "pdVar20[1] = dVar42" (subscript_expression "pdVar20[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pdVar20[2] = dVar42;" (assignment_expression "pdVar20[2] = dVar42" (subscript_expression "pdVar20[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pdVar20 = pdVar20 + 0xb;" (assignment_expression "pdVar20 = pdVar20 + 0xb" identifier = (binary_expression "pdVar20 + 0xb" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar8 != uVar7)" ( (binary_expression "uVar8 != uVar7" identifier != identifier) )) ;) (expression_statement "iVar11 = puVar4[0xaf];" (assignment_expression "iVar11 = puVar4[0xaf]" identifier = (subscript_expression "puVar4[0xaf]" identifier [ number_literal ])) ;) }) (else_clause "else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }" else (compound_statement "{\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }" { (expression_statement "iVar11 = puVar4[9];" (assignment_expression "iVar11 = puVar4[9]" identifier = (subscript_expression "puVar4[9]" identifier [ number_literal ])) ;) (if_statement "if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }" if (parenthesized_expression "(iVar11 < 1)" ( (binary_expression "iVar11 < 1" identifier < number_literal) )) (compound_statement "{\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }" { (labeled_statement "LAB_002a6328:\n                iVar11 = puVar4[0xaf];" statement_identifier : (expression_statement "iVar11 = puVar4[0xaf];" (assignment_expression "iVar11 = puVar4[0xaf]" identifier = (subscript_expression "puVar4[0xaf]" identifier [ number_literal ])) ;)) }) (else_clause "else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }" else (compound_statement "{\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }" { (expression_statement "dVar45 = *(double *)(puVar16 + -0x5af0);" (assignment_expression "dVar45 = *(double *)(puVar16 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar16 + -0x5af0)" * (cast_expression "(double *)(puVar16 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + -0x5af0)" ( (binary_expression "puVar16 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "pdVar20 = (double *)(puVar4[10] + 0x28);" (assignment_expression "pdVar20 = (double *)(puVar4[10] + 0x28)" identifier = (cast_expression "(double *)(puVar4[10] + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4[10] + 0x28)" ( (binary_expression "puVar4[10] + 0x28" (subscript_expression "puVar4[10]" identifier [ number_literal ]) + number_literal) )))) ;) (expression_statement "pbVar12 = local_178 + uVar24;" (assignment_expression "pbVar12 = local_178 + uVar24" identifier = (binary_expression "local_178 + uVar24" identifier + identifier)) ;) (expression_statement "pbVar19 = local_178 + (2 << (uVar10 & 0x1f));" (assignment_expression "pbVar19 = local_178 + (2 << (uVar10 & 0x1f))" identifier = (binary_expression "local_178 + (2 << (uVar10 & 0x1f))" identifier + (parenthesized_expression "(2 << (uVar10 & 0x1f))" ( (binary_expression "2 << (uVar10 & 0x1f)" number_literal << (parenthesized_expression "(uVar10 & 0x1f)" ( (binary_expression "uVar10 & 0x1f" identifier & number_literal) ))) )))) ;) (expression_statement "pbVar31 = local_178;" (assignment_expression "pbVar31 = local_178" identifier = identifier) ;) (do_statement "do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);" do (compound_statement "{\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                }" { (expression_statement "bVar23 = *pbVar31;" (assignment_expression "bVar23 = *pbVar31" identifier = (pointer_expression "*pbVar31" * identifier)) ;) (expression_statement "pbVar40 = pbVar12 + 1;" (assignment_expression "pbVar40 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) (expression_statement "pbVar31 = pbVar31 + 1;" (assignment_expression "pbVar31 = pbVar31 + 1" identifier = (binary_expression "pbVar31 + 1" identifier + number_literal)) ;) (expression_statement "*pdVar20 = (double)(float)((double)bVar23 * dVar45);" (assignment_expression "*pdVar20 = (double)(float)((double)bVar23 * dVar45)" (pointer_expression "*pdVar20" * identifier) = (cast_expression "(double)(float)((double)bVar23 * dVar45)" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)((double)bVar23 * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)bVar23 * dVar45)" ( (binary_expression "(double)bVar23 * dVar45" (cast_expression "(double)bVar23" ( (type_descriptor "double" primitive_type) ) identifier) * identifier) ))))) ;) (expression_statement "pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);" (assignment_expression "pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45)" (subscript_expression "pdVar20[1]" identifier [ number_literal ]) = (cast_expression "(double)(float)((double)*pbVar12 * dVar45)" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)((double)*pbVar12 * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar12 * dVar45)" ( (binary_expression "(double)*pbVar12 * dVar45" (cast_expression "(double)*pbVar12" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar12" * identifier)) * identifier) ))))) ;) (expression_statement "pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);" (assignment_expression "pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45)" (subscript_expression "pdVar20[2]" identifier [ number_literal ]) = (cast_expression "(double)(float)((double)*pbVar19 * dVar45)" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)((double)*pbVar19 * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar19 * dVar45)" ( (binary_expression "(double)*pbVar19 * dVar45" (cast_expression "(double)*pbVar19" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar19" * identifier)) * identifier) ))))) ;) (expression_statement "pdVar20 = pdVar20 + 0xb;" (assignment_expression "pdVar20 = pdVar20 + 0xb" identifier = (binary_expression "pdVar20 + 0xb" identifier + number_literal)) ;) (expression_statement "pbVar12 = pbVar40;" (assignment_expression "pbVar12 = pbVar40" identifier = identifier) ;) (expression_statement "pbVar19 = pbVar19 + 1;" (assignment_expression "pbVar19 = pbVar19 + 1" identifier = (binary_expression "pbVar19 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar40 != local_178 + iVar11 + uVar24)" ( (binary_expression "pbVar40 != local_178 + iVar11 + uVar24" identifier != (binary_expression "local_178 + iVar11 + uVar24" (binary_expression "local_178 + iVar11" identifier + identifier) + identifier)) )) ;) (expression_statement "iVar11 = puVar4[0xaf];" (assignment_expression "iVar11 = puVar4[0xaf]" identifier = (subscript_expression "puVar4[0xaf]" identifier [ number_literal ])) ;) }))) }))) (expression_statement "puVar17 = PTR_s_t_to_left_003a88e4;" (assignment_expression "puVar17 = PTR_s_t_to_left_003a88e4" identifier = identifier) ;) (if_statement "if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }" { (if_statement "if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }" if (parenthesized_expression "(0 < (int)puVar4[7])" ( (binary_expression "0 < (int)puVar4[7]" number_literal < (cast_expression "(int)puVar4[7]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[7]" identifier [ number_literal ]))) )) (compound_statement "{\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }" { (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;" (assignment_expression "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0" identifier + number_literal)) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);" do (compound_statement "{\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                }" { (expression_statement "iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);" (assignment_expression "iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2)" identifier = (call_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2)" (parenthesized_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)" ( (pointer_expression "*(code *)PTR_QueueAuthenticPixels_003a8f24" * (cast_expression "(code *)PTR_QueueAuthenticPixels_003a8f24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,0,uVar8,puVar4[6],1,param_2)" ( identifier , number_literal , identifier , (subscript_expression "puVar4[6]" identifier [ number_literal ]) , number_literal , identifier )))) ;) (if_statement "if (iVar25 == 0) break;" if (parenthesized_expression "(iVar25 == 0)" ( (binary_expression "iVar25 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar12 = pbVar15 + puVar4[6];" (assignment_expression "pbVar12 = pbVar15 + puVar4[6]" identifier = (binary_expression "pbVar15 + puVar4[6]" identifier + (subscript_expression "puVar4[6]" identifier [ number_literal ]))) ;) (if_statement "if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }" if (parenthesized_expression "(0 < (int)puVar4[6])" ( (binary_expression "0 < (int)puVar4[6]" number_literal < (cast_expression "(int)puVar4[6]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[6]" identifier [ number_literal ]))) )) (compound_statement "{\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }" { (expression_statement "iVar26 = puVar4[0xb4];" (assignment_expression "iVar26 = puVar4[0xb4]" identifier = (subscript_expression "puVar4[0xb4]" identifier [ number_literal ])) ;) (expression_statement "iVar34 = puVar4[0xb0];" (assignment_expression "iVar34 = puVar4[0xb0]" identifier = (subscript_expression "puVar4[0xb0]" identifier [ number_literal ])) ;) (expression_statement "iVar35 = *(int *)(iVar26 + 0x40);" (assignment_expression "iVar35 = *(int *)(iVar26 + 0x40)" identifier = (pointer_expression "*(int *)(iVar26 + 0x40)" * (cast_expression "(int *)(iVar26 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar26 + 0x40)" ( (binary_expression "iVar26 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "pbVar19 = pbVar15;" (assignment_expression "pbVar19 = pbVar15" identifier = identifier) ;) (do_statement "do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);" do (compound_statement "{\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    }" { (expression_statement "pbVar15 = pbVar19 + 1;" (assignment_expression "pbVar15 = pbVar19 + 1" identifier = (binary_expression "pbVar19 + 1" identifier + number_literal)) ;) (if_statement "if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }" if (parenthesized_expression "(iVar35 != 0)" ( (binary_expression "iVar35 != 0" identifier != number_literal) )) (compound_statement "{\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }" { (expression_statement "*(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;" (assignment_expression "*(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19" (pointer_expression "*(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4)" * (cast_expression "(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + *(int *)(iVar26 + 0x44) * 4)" ( (binary_expression "iVar25 + *(int *)(iVar26 + 0x44) * 4" identifier + (binary_expression "*(int *)(iVar26 + 0x44) * 4" (pointer_expression "*(int *)(iVar26 + 0x44)" * (cast_expression "(int *)(iVar26 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar26 + 0x44)" ( (binary_expression "iVar26 + 0x44" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)*pbVar19" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*pbVar19" * identifier))) ;) })) (expression_statement "iVar25 = iVar25 + iVar34 * 4;" (assignment_expression "iVar25 = iVar25 + iVar34 * 4" identifier = (binary_expression "iVar25 + iVar34 * 4" identifier + (binary_expression "iVar34 * 4" identifier * number_literal))) ;) (expression_statement "pbVar19 = pbVar15;" (assignment_expression "pbVar19 = pbVar15" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar12 != pbVar15)" ( (binary_expression "pbVar12 != pbVar15" identifier != identifier) )) ;) })) (expression_statement "iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);" (assignment_expression "iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" identifier = (call_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" (parenthesized_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)" ( (pointer_expression "*(code *)PTR_SyncAuthenticPixels_003a91e4" * (cast_expression "(code *)PTR_SyncAuthenticPixels_003a91e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar25 == 0) break;" if (parenthesized_expression "(iVar25 == 0)" ( (binary_expression "iVar25 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar25 = puVar4[7];" (assignment_expression "iVar25 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) (if_statement "if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }" if (parenthesized_expression "(puVar4[0xcd9] == 0)" ( (binary_expression "puVar4[0xcd9] == 0" (subscript_expression "puVar4[0xcd9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }" { (expression_statement "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);" (assignment_expression "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25)" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25)" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,puVar17,iVar11,uVar8,0,iVar25)" ( identifier , identifier , identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (local_164 == 0) break;" if (parenthesized_expression "(local_164 == 0)" ( (binary_expression "local_164 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar25 = puVar4[7];" (assignment_expression "iVar25 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) })) (expression_statement "uVar7 = uVar8 + 1;" (assignment_expression "uVar7 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = (uint)(uVar7 < uVar8) + iVar11;" (assignment_expression "iVar11 = (uint)(uVar7 < uVar8) + iVar11" identifier = (binary_expression "(uint)(uVar7 < uVar8) + iVar11" (call_expression "(uint)(uVar7 < uVar8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar8)" ( (binary_expression "uVar7 < uVar8" identifier < identifier) ))) + identifier)) ;) (expression_statement "uVar8 = uVar7;" (assignment_expression "uVar8 = uVar7" identifier = identifier) ;) }) while (parenthesized_expression "((int)uVar7 < iVar25)" ( (binary_expression "(int)uVar7 < iVar25" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) ;) })) (expression_statement "(*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);" (call_expression "(*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2)" (parenthesized_expression "(*(code *)PTR_SyncImage_003a8d84)" ( (pointer_expression "*(code *)PTR_SyncImage_003a8d84" * (cast_expression "(code *)PTR_SyncImage_003a8d84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,param_2)" ( identifier , identifier ))) ;) }) (else_clause "else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }" else (compound_statement "{\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }" { (if_statement "if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }" if (parenthesized_expression "(0 < (int)puVar4[7])" ( (binary_expression "0 < (int)puVar4[7]" number_literal < (cast_expression "(int)puVar4[7]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[7]" identifier [ number_literal ]))) )) (compound_statement "{\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }" { (expression_statement "dVar45 = *(double *)(puVar16 + -0x5af0);" (assignment_expression "dVar45 = *(double *)(puVar16 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar16 + -0x5af0)" * (cast_expression "(double *)(puVar16 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + -0x5af0)" ( (binary_expression "puVar16 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "puVar33 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar33 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac" identifier + number_literal)) ;) (expression_statement "local_1a0 = (byte *)0x0;" (assignment_expression "local_1a0 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "unaff_s8 = pbVar15;" (assignment_expression "unaff_s8 = pbVar15" identifier = identifier) ;) (do_statement "do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);" do (compound_statement "{\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                }" { (expression_statement "iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);" (assignment_expression "iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2)" identifier = (call_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2)" (parenthesized_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)" ( (pointer_expression "*(code *)PTR_QueueAuthenticPixels_003a8f24" * (cast_expression "(code *)PTR_QueueAuthenticPixels_003a8f24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,0,uVar8,puVar4[6],1,param_2)" ( identifier , number_literal , identifier , (subscript_expression "puVar4[6]" identifier [ number_literal ]) , number_literal , identifier )))) ;) (expression_statement "puVar21 = PTR_s_courses_003a88ec;" (assignment_expression "puVar21 = PTR_s_courses_003a88ec" identifier = identifier) ;) (if_statement "if (iVar11 == 0) break;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }" if (parenthesized_expression "(0 < (int)puVar4[6])" ( (binary_expression "0 < (int)puVar4[6]" number_literal < (cast_expression "(int)puVar4[6]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[6]" identifier [ number_literal ]))) )) (compound_statement "{\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }" { (expression_statement "iVar25 = 0;" (assignment_expression "iVar25 = 0" identifier = number_literal) ;) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) (do_statement "do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);" do (compound_statement "{\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    }" { (expression_statement "iVar34 = puVar4[9];" (assignment_expression "iVar34 = puVar4[9]" identifier = (subscript_expression "puVar4[9]" identifier [ number_literal ])) ;) (if_statement "if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }" if (parenthesized_expression "((int)(uint)*pbVar12 < iVar34)" ( (binary_expression "(int)(uint)*pbVar12 < iVar34" (binary_expression "(int)(uint)*pbVar12" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier) < identifier) )) (compound_statement "{\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }" { (expression_statement "iVar35 = (int)(float)*pbVar12 * 0x58;" (assignment_expression "iVar35 = (int)(float)*pbVar12 * 0x58" identifier = (binary_expression "(int)(float)*pbVar12 * 0x58" (cast_expression "(int)(float)*pbVar12" ( (type_descriptor "int" primitive_type) ) (cast_expression "(float)*pbVar12" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*pbVar12" * identifier))) * number_literal)) ;) }) (else_clause "else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }" else (if_statement "if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }" if (parenthesized_expression "(*param_2 == 0x1a9)" ( (binary_expression "*param_2 == 0x1a9" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n                        iVar35 = 0;\n                      }" { (expression_statement "iVar35 = 0;" (assignment_expression "iVar35 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }" else (compound_statement "{\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" ( identifier , (binary_expression "puVar21 + 0x6f4" identifier + number_literal) , identifier , number_literal , number_literal , (binary_expression "puVar17 + -0x5990" identifier + number_literal) , identifier , (binary_expression "puVar4 + 0xd0" identifier + number_literal) ))) ;) (expression_statement "iVar35 = 0;" (assignment_expression "iVar35 = 0" identifier = number_literal) ;) (expression_statement "iVar34 = puVar4[9];" (assignment_expression "iVar34 = puVar4[9]" identifier = (subscript_expression "puVar4[9]" identifier [ number_literal ])) ;) }))))) (expression_statement "iVar26 = puVar4[10];" (assignment_expression "iVar26 = puVar4[10]" identifier = (subscript_expression "puVar4[10]" identifier [ number_literal ])) ;) (expression_statement "iVar36 = puVar4[0xb4];" (assignment_expression "iVar36 = puVar4[0xb4]" identifier = (subscript_expression "puVar4[0xb4]" identifier [ number_literal ])) ;) (expression_statement "*(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);" (assignment_expression "*(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28)" (pointer_expression "*(float *)(iVar11 + *(int *)(iVar36 + 8) * 4)" * (cast_expression "(float *)(iVar11 + *(int *)(iVar36 + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + *(int *)(iVar36 + 8) * 4)" ( (binary_expression "iVar11 + *(int *)(iVar36 + 8) * 4" identifier + (binary_expression "*(int *)(iVar36 + 8) * 4" (pointer_expression "*(int *)(iVar36 + 8)" * (cast_expression "(int *)(iVar36 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 8)" ( (binary_expression "iVar36 + 8" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)*(double *)(iVar26 + iVar35 + 0x28)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(iVar26 + iVar35 + 0x28)" * (cast_expression "(double *)(iVar26 + iVar35 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar26 + iVar35 + 0x28)" ( (binary_expression "iVar26 + iVar35 + 0x28" (binary_expression "iVar26 + iVar35" identifier + identifier) + number_literal) )))))) ;) (if_statement "if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }" if (parenthesized_expression "((int)(uint)pbVar12[1] < iVar34)" ( (binary_expression "(int)(uint)pbVar12[1] < iVar34" (cast_expression "(int)(uint)pbVar12[1]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(uint)pbVar12[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar12[1]" identifier [ number_literal ]))) < identifier) )) (compound_statement "{\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }" { (expression_statement "iVar35 = (int)(float)pbVar12[1] * 0x58;" (assignment_expression "iVar35 = (int)(float)pbVar12[1] * 0x58" identifier = (binary_expression "(int)(float)pbVar12[1] * 0x58" (cast_expression "(int)(float)pbVar12[1]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(float)pbVar12[1]" ( (type_descriptor "float" primitive_type) ) (subscript_expression "pbVar12[1]" identifier [ number_literal ]))) * number_literal)) ;) }) (else_clause "else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }" else (if_statement "if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }" if (parenthesized_expression "(*param_2 == 0x1a9)" ( (binary_expression "*param_2 == 0x1a9" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n                        iVar35 = 0;\n                      }" { (expression_statement "iVar35 = 0;" (assignment_expression "iVar35 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }" else (compound_statement "{\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" ( identifier , (binary_expression "puVar21 + 0x6f4" identifier + number_literal) , identifier , number_literal , number_literal , (binary_expression "puVar17 + -0x5990" identifier + number_literal) , identifier , (binary_expression "puVar4 + 0xd0" identifier + number_literal) ))) ;) (expression_statement "iVar35 = 0;" (assignment_expression "iVar35 = 0" identifier = number_literal) ;) (expression_statement "iVar26 = puVar4[10];" (assignment_expression "iVar26 = puVar4[10]" identifier = (subscript_expression "puVar4[10]" identifier [ number_literal ])) ;) (expression_statement "iVar34 = puVar4[9];" (assignment_expression "iVar34 = puVar4[9]" identifier = (subscript_expression "puVar4[9]" identifier [ number_literal ])) ;) (expression_statement "iVar36 = puVar4[0xb4];" (assignment_expression "iVar36 = puVar4[0xb4]" identifier = (subscript_expression "puVar4[0xb4]" identifier [ number_literal ])) ;) }))))) (expression_statement "*(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);" (assignment_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30)" (pointer_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4)" * (cast_expression "(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + *(int *)(iVar36 + 0x14) * 4)" ( (binary_expression "iVar11 + *(int *)(iVar36 + 0x14) * 4" identifier + (binary_expression "*(int *)(iVar36 + 0x14) * 4" (pointer_expression "*(int *)(iVar36 + 0x14)" * (cast_expression "(int *)(iVar36 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 0x14)" ( (binary_expression "iVar36 + 0x14" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)*(double *)(iVar26 + iVar35 + 0x30)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(iVar26 + iVar35 + 0x30)" * (cast_expression "(double *)(iVar26 + iVar35 + 0x30)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar26 + iVar35 + 0x30)" ( (binary_expression "iVar26 + iVar35 + 0x30" (binary_expression "iVar26 + iVar35" identifier + identifier) + number_literal) )))))) ;) (if_statement "if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }" if (parenthesized_expression "((int)(uint)pbVar12[2] < iVar34)" ( (binary_expression "(int)(uint)pbVar12[2] < iVar34" (cast_expression "(int)(uint)pbVar12[2]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(uint)pbVar12[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar12[2]" identifier [ number_literal ]))) < identifier) )) (compound_statement "{\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }" { (expression_statement "iVar34 = (int)(float)pbVar12[2] * 0x58;" (assignment_expression "iVar34 = (int)(float)pbVar12[2] * 0x58" identifier = (binary_expression "(int)(float)pbVar12[2] * 0x58" (cast_expression "(int)(float)pbVar12[2]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(float)pbVar12[2]" ( (type_descriptor "float" primitive_type) ) (subscript_expression "pbVar12[2]" identifier [ number_literal ]))) * number_literal)) ;) }) (else_clause "else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }" else (if_statement "if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }" if (parenthesized_expression "(*param_2 == 0x1a9)" ( (binary_expression "*param_2 == 0x1a9" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n                        iVar34 = 0;\n                      }" { (expression_statement "iVar34 = 0;" (assignment_expression "iVar34 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }" else (compound_statement "{\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" ( identifier , (binary_expression "puVar21 + 0x6f4" identifier + number_literal) , identifier , number_literal , number_literal , (binary_expression "puVar17 + -0x5990" identifier + number_literal) , identifier , (binary_expression "puVar4 + 0xd0" identifier + number_literal) ))) ;) (expression_statement "iVar34 = 0;" (assignment_expression "iVar34 = 0" identifier = number_literal) ;) (expression_statement "iVar26 = puVar4[10];" (assignment_expression "iVar26 = puVar4[10]" identifier = (subscript_expression "puVar4[10]" identifier [ number_literal ])) ;) (expression_statement "iVar36 = puVar4[0xb4];" (assignment_expression "iVar36 = puVar4[0xb4]" identifier = (subscript_expression "puVar4[0xb4]" identifier [ number_literal ])) ;) }))))) (expression_statement "iVar35 = *(int *)(iVar36 + 0x34);" (assignment_expression "iVar35 = *(int *)(iVar36 + 0x34)" identifier = (pointer_expression "*(int *)(iVar36 + 0x34)" * (cast_expression "(int *)(iVar36 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 0x34)" ( (binary_expression "iVar36 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "unaff_s8 = pbVar12 + 4;" (assignment_expression "unaff_s8 = pbVar12 + 4" identifier = (binary_expression "pbVar12 + 4" identifier + number_literal)) ;) (expression_statement "*(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);" (assignment_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38)" (pointer_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4)" * (cast_expression "(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + *(int *)(iVar36 + 0x20) * 4)" ( (binary_expression "iVar11 + *(int *)(iVar36 + 0x20) * 4" identifier + (binary_expression "*(int *)(iVar36 + 0x20) * 4" (pointer_expression "*(int *)(iVar36 + 0x20)" * (cast_expression "(int *)(iVar36 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 0x20)" ( (binary_expression "iVar36 + 0x20" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)*(double *)(iVar26 + iVar34 + 0x38)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(iVar26 + iVar34 + 0x38)" * (cast_expression "(double *)(iVar26 + iVar34 + 0x38)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar26 + iVar34 + 0x38)" ( (binary_expression "iVar26 + iVar34 + 0x38" (binary_expression "iVar26 + iVar34" identifier + identifier) + number_literal) )))))) ;) (if_statement "if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }" if (parenthesized_expression "(iVar35 != 0)" ( (binary_expression "iVar35 != 0" identifier != number_literal) )) (compound_statement "{\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }" { (expression_statement "*(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);" (assignment_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45)" (pointer_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4)" * (cast_expression "(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + *(int *)(iVar36 + 0x38) * 4)" ( (binary_expression "iVar11 + *(int *)(iVar36 + 0x38) * 4" identifier + (binary_expression "*(int *)(iVar36 + 0x38) * 4" (pointer_expression "*(int *)(iVar36 + 0x38)" * (cast_expression "(int *)(iVar36 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 0x38)" ( (binary_expression "iVar36 + 0x38" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)((double)pbVar12[3] * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar12[3] * dVar45)" ( (binary_expression "(double)pbVar12[3] * dVar45" (cast_expression "(double)pbVar12[3]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar12[3]" identifier [ number_literal ])) * identifier) )))) ;) })) (expression_statement "iVar25 = iVar25 + 1;" (assignment_expression "iVar25 = iVar25 + 1" identifier = (binary_expression "iVar25 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = iVar11 + puVar4[0xb0] * 4;" (assignment_expression "iVar11 = iVar11 + puVar4[0xb0] * 4" identifier = (binary_expression "iVar11 + puVar4[0xb0] * 4" identifier + (binary_expression "puVar4[0xb0] * 4" (subscript_expression "puVar4[0xb0]" identifier [ number_literal ]) * number_literal))) ;) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) }) while (parenthesized_expression "(iVar25 < (int)puVar4[6])" ( (binary_expression "iVar25 < (int)puVar4[6]" identifier < (cast_expression "(int)puVar4[6]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[6]" identifier [ number_literal ]))) )) ;) })) (expression_statement "iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);" (assignment_expression "iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" identifier = (call_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" (parenthesized_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)" ( (pointer_expression "*(code *)PTR_SyncAuthenticPixels_003a91e4" * (cast_expression "(code *)PTR_SyncAuthenticPixels_003a91e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar11 == 0) break;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar11 = puVar4[7];" (assignment_expression "iVar11 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) (if_statement "if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }" if (parenthesized_expression "(puVar4[0xcd9] == 0)" ( (binary_expression "puVar4[0xcd9] == 0" (subscript_expression "puVar4[0xcd9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }" { (expression_statement "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);" (assignment_expression "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11)" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11)" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11)" ( identifier , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0" identifier + number_literal) , identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (local_164 == 0) break;" if (parenthesized_expression "(local_164 == 0)" ( (binary_expression "local_164 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar11 = puVar4[7];" (assignment_expression "iVar11 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) })) (expression_statement "uVar7 = uVar8 + 1;" (assignment_expression "uVar7 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);" (assignment_expression "local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0)" identifier = (cast_expression "(byte *)((uint)(uVar7 < uVar8) + (int)local_1a0)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(uVar7 < uVar8) + (int)local_1a0)" ( (binary_expression "(uint)(uVar7 < uVar8) + (int)local_1a0" (call_expression "(uint)(uVar7 < uVar8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar8)" ( (binary_expression "uVar7 < uVar8" identifier < identifier) ))) + (cast_expression "(int)local_1a0" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "uVar8 = uVar7;" (assignment_expression "uVar8 = uVar7" identifier = identifier) ;) }) while (parenthesized_expression "((int)uVar7 < iVar11)" ( (binary_expression "(int)uVar7 < iVar11" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) ;) })) (expression_statement "uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);" (assignment_expression "uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10])" identifier = (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10])" (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 "(puVar4[10])" ( (subscript_expression "puVar4[10]" identifier [ number_literal ]) )))) ;) (expression_statement "puVar4[10] = uVar6;" (assignment_expression "puVar4[10] = uVar6" (subscript_expression "puVar4[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[9] = 0;" (assignment_expression "puVar4[9] = 0" (subscript_expression "puVar4[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar4 = 1;" (assignment_expression "*puVar4 = 1" (pointer_expression "*puVar4" * identifier) = number_literal) ;) }))) (labeled_statement "LAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;" statement_identifier : (if_statement "if (uVar9 == 0) goto LAB_002a5fc4;" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002a5fc4;" goto statement_identifier ;))) }) (else_clause "else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }" else (compound_statement "{\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }" { (if_statement "if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }" if (parenthesized_expression "(uVar38 < 3)" ( (binary_expression "uVar38 < 3" identifier < number_literal) )) (compound_statement "{\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }" { (if_statement "if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }" if (parenthesized_expression "((int)uVar8 < (int)local_17c)" ( (binary_expression "(int)uVar8 < (int)local_17c" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)local_17c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }" { (labeled_statement "LAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }" statement_identifier : (if_statement "if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) }))) (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;) (expression_statement "uVar6 = 0x21a;" (assignment_expression "uVar6 = 0x21a" identifier = number_literal) ;) (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;" (assignment_expression "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc" identifier + number_literal)) ;) (expression_statement "uVar18 = 0x1a9;" (assignment_expression "uVar18 = 0x1a9" identifier = number_literal) ;) (goto_statement "goto LAB_002a5e2c;" goto statement_identifier ;) })) (goto_statement "goto LAB_002a6aa4;" goto statement_identifier ;) })) (if_statement "if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }" if (parenthesized_expression "(uVar9 == 2)" ( (binary_expression "uVar9 == 2" identifier == number_literal) )) (compound_statement "{\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }" { (if_statement "if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;" if (parenthesized_expression "((int)uVar8 < (int)local_17c)" ( (binary_expression "(int)uVar8 < (int)local_17c" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)local_17c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_002a74c4;" goto statement_identifier ;)) }) (else_clause "else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }" else (if_statement "if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }" if (parenthesized_expression "(0 < (int)local_17c)" ( (binary_expression "0 < (int)local_17c" number_literal < (cast_expression "(int)local_17c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }" { (expression_statement "uVar8 = 1;" (assignment_expression "uVar8 = 1" identifier = number_literal) ;) (if_statement "if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }" if (parenthesized_expression "(0 < (int)uVar38)" ( (binary_expression "0 < (int)uVar38" number_literal < (cast_expression "(int)uVar38" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                uVar8 = uVar38;\n              }" { (expression_statement "uVar8 = uVar38;" (assignment_expression "uVar8 = uVar38" identifier = identifier) ;) })) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar29 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar29 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;" (assignment_expression "puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x5990" identifier + number_literal)) ;) (expression_statement "puVar21 = PTR_s_courses_003a88ec + 0x6f4;" (assignment_expression "puVar21 = PTR_s_courses_003a88ec + 0x6f4" identifier = (binary_expression "PTR_s_courses_003a88ec + 0x6f4" identifier + number_literal)) ;) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" identifier = identifier) ;) (do_statement "do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);" do (compound_statement "{\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              }" { (expression_statement "unaff_s8 = (byte *)0x0;" (assignment_expression "unaff_s8 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pbVar19 = pbVar12;" (assignment_expression "pbVar19 = pbVar12" identifier = identifier) ;) (do_statement "do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);" do (compound_statement "{\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                }" { (if_statement "if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }" if (parenthesized_expression "((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9])" ( (binary_expression "(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]" (cast_expression "(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" ( (binary_expression "unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)" identifier + (parenthesized_expression "((uint)*pbVar19 & uVar24 - 1)" ( (binary_expression "(uint)*pbVar19 & uVar24 - 1" (binary_expression "(uint)*pbVar19" (parenthesized_expression "(uint)" ( identifier )) * identifier) & (binary_expression "uVar24 - 1" identifier - number_literal)) ))) ))) < (cast_expression "(int)puVar4[9]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[9]" identifier [ number_literal ]))) )) (compound_statement "{\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }" { (expression_statement "pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));" (assignment_expression "pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" identifier = (binary_expression "local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" identifier + (cast_expression "(int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" ( (type_descriptor "int" primitive_type) ) (cast_expression "(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" ( (type_descriptor "float" primitive_type) ) (cast_expression "(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" ( (binary_expression "unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)" identifier + (parenthesized_expression "((uint)*pbVar19 & uVar24 - 1)" ( (binary_expression "(uint)*pbVar19 & uVar24 - 1" (binary_expression "(uint)*pbVar19" (parenthesized_expression "(uint)" ( identifier )) * identifier) & (binary_expression "uVar24 - 1" identifier - number_literal)) ))) ))))))) ;) }) (else_clause "else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }" else (compound_statement "{\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }" { (expression_statement "pbVar31 = local_178;" (assignment_expression "pbVar31 = local_178" identifier = identifier) ;) (if_statement "if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }" if (parenthesized_expression "(*param_2 != 0x1a9)" ( (binary_expression "*param_2 != 0x1a9" (pointer_expression "*param_2" * identifier) != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0)" ( identifier , identifier , (binary_expression "puVar17 + 0x25ac" identifier + number_literal) , number_literal , number_literal , identifier , identifier , (binary_expression "puVar4 + 0xd0" identifier + number_literal) ))) ;) })) }))) (expression_statement "pbVar40 = pbVar19 + 1;" (assignment_expression "pbVar40 = pbVar19 + 1" identifier = (binary_expression "pbVar19 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar19 = *pbVar31;" (assignment_expression "*pbVar19 = *pbVar31" (pointer_expression "*pbVar19" * identifier) = (pointer_expression "*pbVar31" * identifier)) ;) (expression_statement "unaff_s8 = unaff_s8 + uVar24;" (assignment_expression "unaff_s8 = unaff_s8 + uVar24" identifier = (binary_expression "unaff_s8 + uVar24" identifier + identifier)) ;) (expression_statement "pbVar19 = pbVar40;" (assignment_expression "pbVar19 = pbVar40" identifier = identifier) ;) }) while (parenthesized_expression "((int)pbVar40 - (int)pbVar12 < (int)uVar38)" ( (binary_expression "(int)pbVar40 - (int)pbVar12 < (int)uVar38" (binary_expression "(int)pbVar40 - (int)pbVar12" (cast_expression "(int)pbVar40" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar12" ( (type_descriptor "int" primitive_type) ) identifier)) < (cast_expression "(int)uVar38" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) (expression_statement "pbVar12 = pbVar12 + uVar8;" (assignment_expression "pbVar12 = pbVar12 + uVar8" identifier = (binary_expression "pbVar12 + uVar8" identifier + identifier)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar7 != local_17c)" ( (binary_expression "uVar7 != local_17c" identifier != identifier) )) ;) })))) (expression_statement "iVar11 = puVar4[7];" (assignment_expression "iVar11 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) (labeled_statement "LAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;" statement_identifier : (if_statement "if (0 < iVar11) goto LAB_002a5be0;" if (parenthesized_expression "(0 < iVar11)" ( (binary_expression "0 < iVar11" number_literal < identifier) )) (goto_statement "goto LAB_002a5be0;" goto statement_identifier ;))) }))) (expression_statement "local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);" (assignment_expression "local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" identifier = (cast_expression "(byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (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 "(local_178)" ( identifier ))))) ;) }))) (labeled_statement "LAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" statement_identifier : (expression_statement "local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" (assignment_expression "local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" identifier = (cast_expression "(byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))))) ;)) (expression_statement "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(puVar4)" (parenthesized_expression "(*(code *)PTR_EOFBlob_003a9748)" ( (pointer_expression "*(code *)PTR_EOFBlob_003a9748" * (cast_expression "(code *)PTR_EOFBlob_003a9748" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) (if_statement "if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }" { (expression_statement "puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);" (assignment_expression "uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" * (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar22)" ( (pointer_expression "*puVar22" * identifier) )))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6)" ( identifier , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_courses_003a88ec + -0x17c" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0xe78" identifier + number_literal) , (binary_expression "puVar4 + 0xd0" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar6);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar6)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) (labeled_statement "LAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);" statement_identifier : (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(puVar4);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(puVar4)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;)) (if_statement "if (local_164 != 0) goto LAB_002a56b8;" if (parenthesized_expression "(local_164 != 0)" ( (binary_expression "local_164 != 0" identifier != number_literal) )) (goto_statement "goto LAB_002a56b8;" goto statement_identifier ;)) (goto_statement "goto LAB_002a57d0;" goto statement_identifier ;) })) (if_statement "if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;" if (parenthesized_expression "((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))" ( (binary_expression "(*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b])" (parenthesized_expression "(*(int *)(param_1 + 0x2c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x2c) != 0" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b])" ( (binary_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]" (binary_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U" (parenthesized_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28))" ( (binary_expression "*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) )) - number_literal) <= (cast_expression "(uint)puVar4[0x9b]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar4[0x9b]" identifier [ number_literal ]))) ))) )) (goto_statement "goto LAB_002a6040;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier ))) ;) (expression_statement "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158)" identifier = (call_expression "(*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158)" (parenthesized_expression "(*(code *)PTR_ReadBlob_003a8dac)" ( (pointer_expression "*(code *)PTR_ReadBlob_003a8dac" * (cast_expression "(code *)PTR_ReadBlob_003a8dac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,2,local_158)" ( identifier , number_literal , identifier )))) ;) (if_statement "if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;" if (parenthesized_expression "((iVar5 == 0) || (local_158[0] != 0x52cc))" ( (binary_expression "(iVar5 == 0) || (local_158[0] != 0x52cc)" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "(local_158[0] != 0x52cc)" ( (binary_expression "local_158[0] != 0x52cc" (subscript_expression "local_158[0]" identifier [ number_literal ]) != number_literal) ))) )) (goto_statement "goto LAB_002a6040;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);" (call_expression "(*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2)" (parenthesized_expression "(*(code *)PTR_AcquireNextImage_003a8f90)" ( (pointer_expression "*(code *)PTR_AcquireNextImage_003a8f90" * (cast_expression "(code *)PTR_AcquireNextImage_003a8f90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar4,param_2)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4)" identifier = (call_expression "(*(code *)PTR_GetNextImageInList_003a9470)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetNextImageInList_003a9470)" ( (pointer_expression "*(code *)PTR_GetNextImageInList_003a9470" * (cast_expression "(code *)PTR_GetNextImageInList_003a9470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (if_statement "if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }" { (labeled_statement "LAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);" statement_identifier : (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(puVar4);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(puVar4)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;)) (goto_statement "goto LAB_002a57d0;" goto statement_identifier ;) })) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4)" (parenthesized_expression "(*(code *)PTR_SyncNextImageInList_003a9408)" ( (pointer_expression "*(code *)PTR_SyncNextImageInList_003a9408" * (cast_expression "(code *)PTR_SyncNextImageInList_003a9408" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))))) ;) (expression_statement "uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);" (assignment_expression "uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4)" identifier = (call_expression "(*(code *)PTR_TellBlob_003a931c)(puVar4)" (parenthesized_expression "(*(code *)PTR_TellBlob_003a931c)" ( (pointer_expression "*(code *)PTR_TellBlob_003a931c" * (cast_expression "(code *)PTR_TellBlob_003a931c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);" (assignment_expression "uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetBlobSize_003a94b8)" ( (pointer_expression "*(code *)PTR_GetBlobSize_003a94b8" * (cast_expression "(code *)PTR_GetBlobSize_003a94b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);" (assignment_expression "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48)" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48)" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48)" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x168" identifier + number_literal) , (cast_expression "(int)((ulonglong)uVar47 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar47 >> 0x20)" ( (binary_expression "(ulonglong)uVar47 >> 0x20" (cast_expression "(ulonglong)uVar47" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) , (cast_expression "(int)uVar47" ( (type_descriptor "int" primitive_type) ) identifier) , identifier )))) ;) (if_statement "if (iVar5 == 0) goto LAB_002a74b0;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002a74b0;" goto statement_identifier ;)) }) while (parenthesized_expression "(local_158[0] == 0x52cc)" ( (binary_expression "local_158[0] == 0x52cc" (subscript_expression "local_158[0]" identifier [ number_literal ]) == number_literal) )) ;) (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(puVar4);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(puVar4)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) (labeled_statement "LAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);" statement_identifier : (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetFirstImageInList_003a944c)" ( (pointer_expression "*(code *)PTR_GetFirstImageInList_003a944c" * (cast_expression "(code *)PTR_GetFirstImageInList_003a944c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))))) ;)) }) (else_clause "else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }" else (compound_statement "{\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210)" ( identifier , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_courses_003a88ec + -400" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "param_1 + 0x2210" identifier + number_literal) ))) ;) (expression_statement "puVar22 = puVar4;" (assignment_expression "puVar22 = puVar4" identifier = identifier) ;) (if_statement "if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;" if (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_002a5728;" goto statement_identifier ;)) }))) }))) (while_statement "while (local_4c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    param_1 = local_188 + 0x2210;\n    uVar6 = 0x143;\nLAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar17 = PTR_s_courses_003a88ec + -0x17c;\n    uVar18 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);\n    puVar22 = puVar4;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);\n    puVar4 = (undefined4 *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(puVar22);\n  }" while (parenthesized_expression "(local_4c != *(int *)puVar3)" ( (binary_expression "local_4c != *(int *)puVar3" identifier != (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    param_1 = local_188 + 0x2210;\n    uVar6 = 0x143;\nLAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar17 = PTR_s_courses_003a88ec + -0x17c;\n    uVar18 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);\n    puVar22 = puVar4;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);\n    puVar4 = (undefined4 *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(puVar22);\n  }" { (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 "()" ( ))) ;) (labeled_statement "LAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);" statement_identifier : (expression_statement "(*(code *)PTR_DestroyString_003a9074)(unaff_s8);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(unaff_s8)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s8)" ( identifier ))) ;)) (if_statement "if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "param_1 = local_188 + 0x2210;" (assignment_expression "param_1 = local_188 + 0x2210" identifier = (binary_expression "local_188 + 0x2210" identifier + number_literal)) ;) (expression_statement "uVar6 = 0x143;" (assignment_expression "uVar6 = 0x143" identifier = number_literal) ;) (labeled_statement "LAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;" statement_identifier : (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;)) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar17 = PTR_s_courses_003a88ec + -0x17c;" (assignment_expression "puVar17 = PTR_s_courses_003a88ec + -0x17c" identifier = (binary_expression "PTR_s_courses_003a88ec + -0x17c" identifier + number_literal)) ;) (expression_statement "uVar18 = 0x1a9;" (assignment_expression "uVar18 = 0x1a9" identifier = number_literal) ;) (labeled_statement "LAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);" statement_identifier : (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;)) (expression_statement "puVar22 = puVar4;" (assignment_expression "puVar22 = puVar4" identifier = identifier) ;) (labeled_statement "LAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);" statement_identifier : (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(puVar22);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(puVar22)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar22)" ( identifier ))) ;)) (expression_statement "puVar4 = (undefined4 *)0x0;" (assignment_expression "puVar4 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_DestroyImageList_003a9510)(puVar22);" (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(puVar22)" (parenthesized_expression "(*(code *)PTR_DestroyImageList_003a9510)" ( (pointer_expression "*(code *)PTR_DestroyImageList_003a9510" * (cast_expression "(code *)PTR_DestroyImageList_003a9510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar22)" ( identifier ))) ;) })) (return_statement "return puVar4;" return identifier ;) })))
(translation_unit "/* WARNING: Removing unreachable block (ram,0x002a6e44) */\n/* WARNING: Enum "ChannelType": Some values do not have unique names */\n/* WARNING: Enum "GravityType": Some values do not have unique names */\n/* WARNING: Enum "DisposeType": Some values do not have unique names */\n/* WARNING: Enum "PixelChannel": Some values do not have unique names */\n/* WARNING: Enum "ExceptionType": Some values do not have unique names */\n\nImage * ReadRLEImage(ImageInfo *image_info,ExceptionInfo *exception)\n\n{\n  ulonglong uVar1;\n  ulonglong uVar2;\n  undefined *puVar3;\n  int iVar4;\n  Image *pIVar5;\n  int iVar6;\n  ssize_t sVar7;\n  size_t sVar8;\n  PixelTrait PVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  int iVar13;\n  byte *pbVar14;\n  uint uVar15;\n  uint uVar16;\n  byte *pbVar17;\n  byte bVar28;\n  int iVar18;\n  char *pcVar19;\n  undefined *puVar20;\n  undefined *puVar21;\n  undefined4 uVar22;\n  byte *pbVar23;\n  int iVar24;\n  MagickRealType *pMVar25;\n  undefined *puVar26;\n  undefined4 *puVar27;\n  uint uVar29;\n  size_t sVar30;\n  size_t sVar31;\n  PixelInfo *pPVar32;\n  float *pfVar33;\n  float *pfVar34;\n  undefined *puVar35;\n  byte *pbVar36;\n  byte *pbVar37;\n  float *pfVar38;\n  undefined *puVar39;\n  undefined4 uVar40;\n  PixelChannelMap *pPVar41;\n  uint uVar42;\n  uint uVar43;\n  byte *pbVar44;\n  Image *pIVar45;\n  byte *unaff_s8;\n  double dVar46;\n  double dVar47;\n  double dVar48;\n  double dVar49;\n  double dVar50;\n  longlong lVar51;\n  undefined8 uVar52;\n  undefined8 uVar53;\n  byte *local_1a0;\n  ExceptionInfo *local_18c;\n  ImageInfo *local_188;\n  int local_180;\n  uint local_17c;\n  byte *local_178;\n  int local_164;\n  char magick [12];\n  uchar background_color [256];\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  iVar4 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (image_info == (ImageInfo *)0x0) {\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xd78,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }\n  if (image_info->signature != 0xabacadab) {\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xda0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }\n  if (image_info->debug != MagickFalse) {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);\n  }\n  if (exception == (ExceptionInfo *)0x0) {\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x1cac,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }\n  if (exception->signature != 0xabacadab) {\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x294c,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }\n  pIVar5 = (Image *)(*(code *)PTR_AcquireImage_003a960c)(image_info,exception);\n  iVar6 = (*(code *)PTR_OpenBlob_003a924c)(image_info,pIVar5,2,exception);\n  pbVar14 = unaff_s8;\n  if (iVar6 == 0) {\nLAB_002a57d0:\n    pIVar5 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(pIVar5);\n    unaff_s8 = pbVar14;\n  }\n  else {\n    iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);\n    puVar20 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar6 == 2) && (magick._0_2_ == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar48 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar49 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        sVar7 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).x = sVar7;\n        sVar7 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).y = sVar7;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        pIVar5->columns = sVar8;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobByte_003a97f0;\n        pIVar5->rows = sVar8;\n        PVar9 = (*(code *)puVar21)(pIVar5);\n        pIVar5->alpha_trait = PVar9 & BlendPixelTrait;\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        local_18c = exception;\n        local_188 = image_info;\n        if (0x15 < (uVar12 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xee;\nLAB_002a6770:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -400;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar13 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar13 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar29 = 1 << (uVar12 & 0x1f);\n        if (((uVar10 & 0xfffffffd) == 0) ||\n           ((((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||\n            (iVar6 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar10) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < pIVar5->columns - 1) || (0x7ffe < pIVar5->rows - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((PVar9 & UpdatePixelTrait) == UndefinedPixelTrait) {\n          pbVar14 = background_color;\n          do {\n            pbVar17 = pbVar14 + 1;\n            bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n            *pbVar14 = bVar28;\n            pbVar14 = pbVar17;\n          } while (background_color + uVar10 != pbVar17);\n        }\n        else {\n          pbVar14 = background_color;\n          do {\n            *pbVar14 = 0;\n            pbVar14 = pbVar14 + 1;\n          } while (pbVar14 != background_color + uVar10);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        if ((uVar10 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar42 = uVar10;\n        if (pIVar5->alpha_trait != UndefinedPixelTrait) {\n          uVar42 = uVar10 + 1;\n        }\n        uVar1 = (ulonglong)pIVar5->columns * (ulonglong)pIVar5->rows;\n        lVar51 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (lVar51 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x116;\nLAB_002a6a54:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar51 = (ulonglong)uVar42 * (uVar1 & 0xffffffff);\n        uVar43 = uVar42 * local_180 + (int)((ulonglong)lVar51 >> 0x20);\n        uVar52 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        uVar52 = (*(code *)PTR___udivdi3_003a89c0)\n                           (uVar43 & 0x1fffffff,(int)lVar51,(int)((ulonglong)uVar52 >> 0x20),\n                            (int)uVar52);\n        if (((int)((ulonglong)uVar52 >> 0x20) != 0) || (0xfe < (uint)uVar52)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (uVar2 < (ulonglong)uVar11 * (ulonglong)uVar29) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar11 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar11,3 << (uVar12 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar11 << (uVar12 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar11 < 1) {\n            uVar10 = 0;\n          }\n          else {\n            dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar15 = 0;\n            do {\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            } while (uVar11 != uVar15);\n          }\n        }\n        pbVar14 = unaff_s8;\n        if (((PVar9 & 8) != UndefinedPixelTrait) &&\n           (uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5), uVar15 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar13 = uVar15 - 1;\n          iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,iVar13,unaff_s8);\n          puVar21 = PTR_SetImageProperty_003a9534;\n          if (iVar13 != iVar6) goto LAB_002a7380;\n          puVar35 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar13] = 0;\n          (*(code *)puVar21)(pIVar5,puVar35,unaff_s8,exception);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar14 = unaff_s8;\n          if ((uVar15 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          }\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        unaff_s8 = pbVar14;\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene)) break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (pIVar5,pIVar5->columns,pIVar5->rows,exception);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar16 = uVar42 + 1;\n        local_17c = (uint)uVar1;\n        uVar15 = uVar42;\n        if ((uVar42 & 1) != 0) {\n          uVar43 = uVar16 * local_180 + (int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar15 = uVar16;\n        }\n        if (uVar43 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar43 = 4;\n        if (3 < uVar15) {\n          uVar43 = uVar15;\n        }\n        iVar6 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(pIVar5->columns,uVar43 * pIVar5->rows);\n        if (iVar6 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar40 = 0x165;\n          goto LAB_002a705c;\n        }\n        sVar30 = pIVar5->rows;\n        sVar8 = pIVar5->columns;\n        pbVar17 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar6);\n        (*(code *)PTR_memset_003a96d4)(pbVar17,0,sVar8 * sVar30 * uVar43);\n        if ((PVar9 & (UpdatePixelTrait|CopyPixelTrait)) == CopyPixelTrait) {\n          uVar43 = 0;\n          if ((int)local_17c < 1) {\n            uVar10 = 0;\n          }\n          else {\n            pbVar23 = pbVar17;\n            do {\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            } while (local_17c != uVar43);\n          }\n        }\n        uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar43 == 0xffffffff) {\n          if (uVar11 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n          uVar40 = 0x18b;\nLAB_002a5df4:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -0x17c;\n          uVar22 = 0x1a9;\n          unaff_s8 = pbVar14;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar43 = uVar43 & 0x3f;\n        do {\n          if (uVar43 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))();\n            return pIVar5;\n          }\n          uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar43 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x1fb;\n            pbVar14 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar43 = uVar43 & 0x3f;\n        } while (uVar43 != 7);\n        if (uVar11 == 0) {\n          if (uVar42 < 3) {\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception);\n            if (iVar13 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x246;\nLAB_002a705c:\n            pcVar19 = image_info->filename;\n            puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar21 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar22 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)pIVar5->rows) {\nLAB_002a5be0:\n            iVar13 = 0;\n            dVar50 = *(double *)(puVar20 + -0x5af0);\n            puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar10 = 0;\n            do {\n              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n              if (iVar18 == 0) break;\n              sVar30 = pIVar5->columns;\n              sVar8 = 0;\n              if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }\n              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n              if (iVar18 == 0) break;\n              sVar8 = pIVar5->rows;\n              if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }\n              uVar12 = uVar10 + 1;\n              iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n              uVar10 = uVar12;\n            } while ((int)uVar12 < (int)sVar8);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar11 == 1) {\n            if (0 < (int)local_17c) {\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }\n            if (2 < uVar42) {\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);\n            if (iVar13 == 0) goto LAB_002a725c;\n            if (uVar11 == 1) {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }\n            else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }\n            puVar21 = PTR_s_t_to_left_003a88e4;\n            if (PVar9 == UndefinedPixelTrait) {\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }\n            else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }\nLAB_002a5fb4:\n            if (uVar11 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }\n            sVar8 = pIVar5->rows;\nLAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        pbVar14 = unaff_s8;\n        if (iVar6 != 0) {\n          puVar27 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar40 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar27);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,pIVar5->filename,\n                     uVar40);\n          (*(code *)PTR_DestroyString_003a9074)(uVar40);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((image_info->number_scenes != 0) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);\n        if ((iVar6 == 0) || (magick._0_2_ != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(image_info,pIVar5,exception);\n        iVar6 = (*(code *)PTR_GetNextImageInList_003a9470)(pIVar5);\n        if (iVar6 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          goto LAB_002a57d0;\n        }\n        pIVar5 = (Image *)(*(code *)PTR_SyncNextImageInList_003a9408)(pIVar5);\n        uVar52 = (*(code *)PTR_TellBlob_003a931c)(pIVar5);\n        uVar53 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (pIVar5,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar52 >> 0x20),\n                           (int)uVar52,uVar53);\n        if (iVar6 == 0) goto LAB_002a74b0;\n      } while (magick._0_2_ == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\nLAB_002a56b8:\n      pIVar5 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(pIVar5);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);\n      pIVar45 = pIVar5;\n      if (pIVar5 != (Image *)0x0) goto LAB_002a5728;\n    }\n  }\n  while (iVar4 != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    pcVar19 = local_188->filename;\n    uVar40 = 0x143;\nLAB_002a6244:\n    puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar21 = PTR_s_courses_003a88ec + -0x17c;\n    uVar22 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar35,puVar39,uVar40,uVar22,puVar21,puVar20,pcVar19);\n    pIVar45 = pIVar5;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(pIVar45);\n    pIVar5 = (Image *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(pIVar45);\n  }\n  return pIVar5;\n}\n\n" comment comment comment comment comment comment (function_definition "Image * ReadRLEImage(ImageInfo *image_info,ExceptionInfo *exception)\n\n{\n  ulonglong uVar1;\n  ulonglong uVar2;\n  undefined *puVar3;\n  int iVar4;\n  Image *pIVar5;\n  int iVar6;\n  ssize_t sVar7;\n  size_t sVar8;\n  PixelTrait PVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  int iVar13;\n  byte *pbVar14;\n  uint uVar15;\n  uint uVar16;\n  byte *pbVar17;\n  byte bVar28;\n  int iVar18;\n  char *pcVar19;\n  undefined *puVar20;\n  undefined *puVar21;\n  undefined4 uVar22;\n  byte *pbVar23;\n  int iVar24;\n  MagickRealType *pMVar25;\n  undefined *puVar26;\n  undefined4 *puVar27;\n  uint uVar29;\n  size_t sVar30;\n  size_t sVar31;\n  PixelInfo *pPVar32;\n  float *pfVar33;\n  float *pfVar34;\n  undefined *puVar35;\n  byte *pbVar36;\n  byte *pbVar37;\n  float *pfVar38;\n  undefined *puVar39;\n  undefined4 uVar40;\n  PixelChannelMap *pPVar41;\n  uint uVar42;\n  uint uVar43;\n  byte *pbVar44;\n  Image *pIVar45;\n  byte *unaff_s8;\n  double dVar46;\n  double dVar47;\n  double dVar48;\n  double dVar49;\n  double dVar50;\n  longlong lVar51;\n  undefined8 uVar52;\n  undefined8 uVar53;\n  byte *local_1a0;\n  ExceptionInfo *local_18c;\n  ImageInfo *local_188;\n  int local_180;\n  uint local_17c;\n  byte *local_178;\n  int local_164;\n  char magick [12];\n  uchar background_color [256];\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  iVar4 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (image_info == (ImageInfo *)0x0) {\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xd78,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }\n  if (image_info->signature != 0xabacadab) {\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xda0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }\n  if (image_info->debug != MagickFalse) {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);\n  }\n  if (exception == (ExceptionInfo *)0x0) {\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x1cac,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }\n  if (exception->signature != 0xabacadab) {\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x294c,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }\n  pIVar5 = (Image *)(*(code *)PTR_AcquireImage_003a960c)(image_info,exception);\n  iVar6 = (*(code *)PTR_OpenBlob_003a924c)(image_info,pIVar5,2,exception);\n  pbVar14 = unaff_s8;\n  if (iVar6 == 0) {\nLAB_002a57d0:\n    pIVar5 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(pIVar5);\n    unaff_s8 = pbVar14;\n  }\n  else {\n    iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);\n    puVar20 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar6 == 2) && (magick._0_2_ == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar48 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar49 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        sVar7 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).x = sVar7;\n        sVar7 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).y = sVar7;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        pIVar5->columns = sVar8;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobByte_003a97f0;\n        pIVar5->rows = sVar8;\n        PVar9 = (*(code *)puVar21)(pIVar5);\n        pIVar5->alpha_trait = PVar9 & BlendPixelTrait;\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        local_18c = exception;\n        local_188 = image_info;\n        if (0x15 < (uVar12 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xee;\nLAB_002a6770:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -400;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar13 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar13 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar29 = 1 << (uVar12 & 0x1f);\n        if (((uVar10 & 0xfffffffd) == 0) ||\n           ((((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||\n            (iVar6 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar10) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < pIVar5->columns - 1) || (0x7ffe < pIVar5->rows - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((PVar9 & UpdatePixelTrait) == UndefinedPixelTrait) {\n          pbVar14 = background_color;\n          do {\n            pbVar17 = pbVar14 + 1;\n            bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n            *pbVar14 = bVar28;\n            pbVar14 = pbVar17;\n          } while (background_color + uVar10 != pbVar17);\n        }\n        else {\n          pbVar14 = background_color;\n          do {\n            *pbVar14 = 0;\n            pbVar14 = pbVar14 + 1;\n          } while (pbVar14 != background_color + uVar10);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        if ((uVar10 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar42 = uVar10;\n        if (pIVar5->alpha_trait != UndefinedPixelTrait) {\n          uVar42 = uVar10 + 1;\n        }\n        uVar1 = (ulonglong)pIVar5->columns * (ulonglong)pIVar5->rows;\n        lVar51 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (lVar51 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x116;\nLAB_002a6a54:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar51 = (ulonglong)uVar42 * (uVar1 & 0xffffffff);\n        uVar43 = uVar42 * local_180 + (int)((ulonglong)lVar51 >> 0x20);\n        uVar52 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        uVar52 = (*(code *)PTR___udivdi3_003a89c0)\n                           (uVar43 & 0x1fffffff,(int)lVar51,(int)((ulonglong)uVar52 >> 0x20),\n                            (int)uVar52);\n        if (((int)((ulonglong)uVar52 >> 0x20) != 0) || (0xfe < (uint)uVar52)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (uVar2 < (ulonglong)uVar11 * (ulonglong)uVar29) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar11 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar11,3 << (uVar12 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar11 << (uVar12 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar11 < 1) {\n            uVar10 = 0;\n          }\n          else {\n            dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar15 = 0;\n            do {\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            } while (uVar11 != uVar15);\n          }\n        }\n        pbVar14 = unaff_s8;\n        if (((PVar9 & 8) != UndefinedPixelTrait) &&\n           (uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5), uVar15 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar13 = uVar15 - 1;\n          iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,iVar13,unaff_s8);\n          puVar21 = PTR_SetImageProperty_003a9534;\n          if (iVar13 != iVar6) goto LAB_002a7380;\n          puVar35 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar13] = 0;\n          (*(code *)puVar21)(pIVar5,puVar35,unaff_s8,exception);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar14 = unaff_s8;\n          if ((uVar15 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          }\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        unaff_s8 = pbVar14;\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene)) break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (pIVar5,pIVar5->columns,pIVar5->rows,exception);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar16 = uVar42 + 1;\n        local_17c = (uint)uVar1;\n        uVar15 = uVar42;\n        if ((uVar42 & 1) != 0) {\n          uVar43 = uVar16 * local_180 + (int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar15 = uVar16;\n        }\n        if (uVar43 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar43 = 4;\n        if (3 < uVar15) {\n          uVar43 = uVar15;\n        }\n        iVar6 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(pIVar5->columns,uVar43 * pIVar5->rows);\n        if (iVar6 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar40 = 0x165;\n          goto LAB_002a705c;\n        }\n        sVar30 = pIVar5->rows;\n        sVar8 = pIVar5->columns;\n        pbVar17 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar6);\n        (*(code *)PTR_memset_003a96d4)(pbVar17,0,sVar8 * sVar30 * uVar43);\n        if ((PVar9 & (UpdatePixelTrait|CopyPixelTrait)) == CopyPixelTrait) {\n          uVar43 = 0;\n          if ((int)local_17c < 1) {\n            uVar10 = 0;\n          }\n          else {\n            pbVar23 = pbVar17;\n            do {\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            } while (local_17c != uVar43);\n          }\n        }\n        uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar43 == 0xffffffff) {\n          if (uVar11 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n          uVar40 = 0x18b;\nLAB_002a5df4:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -0x17c;\n          uVar22 = 0x1a9;\n          unaff_s8 = pbVar14;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar43 = uVar43 & 0x3f;\n        do {\n          if (uVar43 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))();\n            return pIVar5;\n          }\n          uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar43 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x1fb;\n            pbVar14 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar43 = uVar43 & 0x3f;\n        } while (uVar43 != 7);\n        if (uVar11 == 0) {\n          if (uVar42 < 3) {\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception);\n            if (iVar13 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x246;\nLAB_002a705c:\n            pcVar19 = image_info->filename;\n            puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar21 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar22 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)pIVar5->rows) {\nLAB_002a5be0:\n            iVar13 = 0;\n            dVar50 = *(double *)(puVar20 + -0x5af0);\n            puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar10 = 0;\n            do {\n              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n              if (iVar18 == 0) break;\n              sVar30 = pIVar5->columns;\n              sVar8 = 0;\n              if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }\n              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n              if (iVar18 == 0) break;\n              sVar8 = pIVar5->rows;\n              if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }\n              uVar12 = uVar10 + 1;\n              iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n              uVar10 = uVar12;\n            } while ((int)uVar12 < (int)sVar8);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar11 == 1) {\n            if (0 < (int)local_17c) {\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }\n            if (2 < uVar42) {\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);\n            if (iVar13 == 0) goto LAB_002a725c;\n            if (uVar11 == 1) {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }\n            else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }\n            puVar21 = PTR_s_t_to_left_003a88e4;\n            if (PVar9 == UndefinedPixelTrait) {\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }\n            else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }\nLAB_002a5fb4:\n            if (uVar11 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }\n            sVar8 = pIVar5->rows;\nLAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        pbVar14 = unaff_s8;\n        if (iVar6 != 0) {\n          puVar27 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar40 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar27);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,pIVar5->filename,\n                     uVar40);\n          (*(code *)PTR_DestroyString_003a9074)(uVar40);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((image_info->number_scenes != 0) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);\n        if ((iVar6 == 0) || (magick._0_2_ != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(image_info,pIVar5,exception);\n        iVar6 = (*(code *)PTR_GetNextImageInList_003a9470)(pIVar5);\n        if (iVar6 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          goto LAB_002a57d0;\n        }\n        pIVar5 = (Image *)(*(code *)PTR_SyncNextImageInList_003a9408)(pIVar5);\n        uVar52 = (*(code *)PTR_TellBlob_003a931c)(pIVar5);\n        uVar53 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (pIVar5,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar52 >> 0x20),\n                           (int)uVar52,uVar53);\n        if (iVar6 == 0) goto LAB_002a74b0;\n      } while (magick._0_2_ == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\nLAB_002a56b8:\n      pIVar5 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(pIVar5);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);\n      pIVar45 = pIVar5;\n      if (pIVar5 != (Image *)0x0) goto LAB_002a5728;\n    }\n  }\n  while (iVar4 != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    pcVar19 = local_188->filename;\n    uVar40 = 0x143;\nLAB_002a6244:\n    puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar21 = PTR_s_courses_003a88ec + -0x17c;\n    uVar22 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar35,puVar39,uVar40,uVar22,puVar21,puVar20,pcVar19);\n    pIVar45 = pIVar5;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(pIVar45);\n    pIVar5 = (Image *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(pIVar45);\n  }\n  return pIVar5;\n}" type_identifier (pointer_declarator "* ReadRLEImage(ImageInfo *image_info,ExceptionInfo *exception)" * (function_declarator "ReadRLEImage(ImageInfo *image_info,ExceptionInfo *exception)" identifier (parameter_list "(ImageInfo *image_info,ExceptionInfo *exception)" ( (parameter_declaration "ImageInfo *image_info" type_identifier (pointer_declarator "*image_info" * identifier)) , (parameter_declaration "ExceptionInfo *exception" type_identifier (pointer_declarator "*exception" * identifier)) )))) (compound_statement "{\n  ulonglong uVar1;\n  ulonglong uVar2;\n  undefined *puVar3;\n  int iVar4;\n  Image *pIVar5;\n  int iVar6;\n  ssize_t sVar7;\n  size_t sVar8;\n  PixelTrait PVar9;\n  uint uVar10;\n  uint uVar11;\n  uint uVar12;\n  int iVar13;\n  byte *pbVar14;\n  uint uVar15;\n  uint uVar16;\n  byte *pbVar17;\n  byte bVar28;\n  int iVar18;\n  char *pcVar19;\n  undefined *puVar20;\n  undefined *puVar21;\n  undefined4 uVar22;\n  byte *pbVar23;\n  int iVar24;\n  MagickRealType *pMVar25;\n  undefined *puVar26;\n  undefined4 *puVar27;\n  uint uVar29;\n  size_t sVar30;\n  size_t sVar31;\n  PixelInfo *pPVar32;\n  float *pfVar33;\n  float *pfVar34;\n  undefined *puVar35;\n  byte *pbVar36;\n  byte *pbVar37;\n  float *pfVar38;\n  undefined *puVar39;\n  undefined4 uVar40;\n  PixelChannelMap *pPVar41;\n  uint uVar42;\n  uint uVar43;\n  byte *pbVar44;\n  Image *pIVar45;\n  byte *unaff_s8;\n  double dVar46;\n  double dVar47;\n  double dVar48;\n  double dVar49;\n  double dVar50;\n  longlong lVar51;\n  undefined8 uVar52;\n  undefined8 uVar53;\n  byte *local_1a0;\n  ExceptionInfo *local_18c;\n  ImageInfo *local_188;\n  int local_180;\n  uint local_17c;\n  byte *local_178;\n  int local_164;\n  char magick [12];\n  uchar background_color [256];\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  iVar4 = *(int *)PTR___stack_chk_guard_003a9230;\n  if (image_info == (ImageInfo *)0x0) {\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xd78,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }\n  if (image_info->signature != 0xabacadab) {\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xda0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }\n  if (image_info->debug != MagickFalse) {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);\n  }\n  if (exception == (ExceptionInfo *)0x0) {\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x1cac,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }\n  if (exception->signature != 0xabacadab) {\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x294c,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }\n  pIVar5 = (Image *)(*(code *)PTR_AcquireImage_003a960c)(image_info,exception);\n  iVar6 = (*(code *)PTR_OpenBlob_003a924c)(image_info,pIVar5,2,exception);\n  pbVar14 = unaff_s8;\n  if (iVar6 == 0) {\nLAB_002a57d0:\n    pIVar5 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(pIVar5);\n    unaff_s8 = pbVar14;\n  }\n  else {\n    iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);\n    puVar20 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar6 == 2) && (magick._0_2_ == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar48 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar49 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        sVar7 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).x = sVar7;\n        sVar7 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).y = sVar7;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        pIVar5->columns = sVar8;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobByte_003a97f0;\n        pIVar5->rows = sVar8;\n        PVar9 = (*(code *)puVar21)(pIVar5);\n        pIVar5->alpha_trait = PVar9 & BlendPixelTrait;\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        local_18c = exception;\n        local_188 = image_info;\n        if (0x15 < (uVar12 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xee;\nLAB_002a6770:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -400;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar13 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar13 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar29 = 1 << (uVar12 & 0x1f);\n        if (((uVar10 & 0xfffffffd) == 0) ||\n           ((((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||\n            (iVar6 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar10) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < pIVar5->columns - 1) || (0x7ffe < pIVar5->rows - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((PVar9 & UpdatePixelTrait) == UndefinedPixelTrait) {\n          pbVar14 = background_color;\n          do {\n            pbVar17 = pbVar14 + 1;\n            bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n            *pbVar14 = bVar28;\n            pbVar14 = pbVar17;\n          } while (background_color + uVar10 != pbVar17);\n        }\n        else {\n          pbVar14 = background_color;\n          do {\n            *pbVar14 = 0;\n            pbVar14 = pbVar14 + 1;\n          } while (pbVar14 != background_color + uVar10);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        if ((uVar10 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar42 = uVar10;\n        if (pIVar5->alpha_trait != UndefinedPixelTrait) {\n          uVar42 = uVar10 + 1;\n        }\n        uVar1 = (ulonglong)pIVar5->columns * (ulonglong)pIVar5->rows;\n        lVar51 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (lVar51 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x116;\nLAB_002a6a54:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar51 = (ulonglong)uVar42 * (uVar1 & 0xffffffff);\n        uVar43 = uVar42 * local_180 + (int)((ulonglong)lVar51 >> 0x20);\n        uVar52 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        uVar52 = (*(code *)PTR___udivdi3_003a89c0)\n                           (uVar43 & 0x1fffffff,(int)lVar51,(int)((ulonglong)uVar52 >> 0x20),\n                            (int)uVar52);\n        if (((int)((ulonglong)uVar52 >> 0x20) != 0) || (0xfe < (uint)uVar52)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (uVar2 < (ulonglong)uVar11 * (ulonglong)uVar29) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar11 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar11,3 << (uVar12 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar11 << (uVar12 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar11 < 1) {\n            uVar10 = 0;\n          }\n          else {\n            dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar15 = 0;\n            do {\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            } while (uVar11 != uVar15);\n          }\n        }\n        pbVar14 = unaff_s8;\n        if (((PVar9 & 8) != UndefinedPixelTrait) &&\n           (uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5), uVar15 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar13 = uVar15 - 1;\n          iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,iVar13,unaff_s8);\n          puVar21 = PTR_SetImageProperty_003a9534;\n          if (iVar13 != iVar6) goto LAB_002a7380;\n          puVar35 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar13] = 0;\n          (*(code *)puVar21)(pIVar5,puVar35,unaff_s8,exception);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar14 = unaff_s8;\n          if ((uVar15 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          }\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        unaff_s8 = pbVar14;\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene)) break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (pIVar5,pIVar5->columns,pIVar5->rows,exception);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar16 = uVar42 + 1;\n        local_17c = (uint)uVar1;\n        uVar15 = uVar42;\n        if ((uVar42 & 1) != 0) {\n          uVar43 = uVar16 * local_180 + (int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar15 = uVar16;\n        }\n        if (uVar43 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar43 = 4;\n        if (3 < uVar15) {\n          uVar43 = uVar15;\n        }\n        iVar6 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(pIVar5->columns,uVar43 * pIVar5->rows);\n        if (iVar6 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar40 = 0x165;\n          goto LAB_002a705c;\n        }\n        sVar30 = pIVar5->rows;\n        sVar8 = pIVar5->columns;\n        pbVar17 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar6);\n        (*(code *)PTR_memset_003a96d4)(pbVar17,0,sVar8 * sVar30 * uVar43);\n        if ((PVar9 & (UpdatePixelTrait|CopyPixelTrait)) == CopyPixelTrait) {\n          uVar43 = 0;\n          if ((int)local_17c < 1) {\n            uVar10 = 0;\n          }\n          else {\n            pbVar23 = pbVar17;\n            do {\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            } while (local_17c != uVar43);\n          }\n        }\n        uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar43 == 0xffffffff) {\n          if (uVar11 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n          uVar40 = 0x18b;\nLAB_002a5df4:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -0x17c;\n          uVar22 = 0x1a9;\n          unaff_s8 = pbVar14;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar43 = uVar43 & 0x3f;\n        do {\n          if (uVar43 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))();\n            return pIVar5;\n          }\n          uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar43 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x1fb;\n            pbVar14 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar43 = uVar43 & 0x3f;\n        } while (uVar43 != 7);\n        if (uVar11 == 0) {\n          if (uVar42 < 3) {\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception);\n            if (iVar13 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x246;\nLAB_002a705c:\n            pcVar19 = image_info->filename;\n            puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar21 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar22 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)pIVar5->rows) {\nLAB_002a5be0:\n            iVar13 = 0;\n            dVar50 = *(double *)(puVar20 + -0x5af0);\n            puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar10 = 0;\n            do {\n              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n              if (iVar18 == 0) break;\n              sVar30 = pIVar5->columns;\n              sVar8 = 0;\n              if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }\n              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n              if (iVar18 == 0) break;\n              sVar8 = pIVar5->rows;\n              if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }\n              uVar12 = uVar10 + 1;\n              iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n              uVar10 = uVar12;\n            } while ((int)uVar12 < (int)sVar8);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar11 == 1) {\n            if (0 < (int)local_17c) {\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }\n            if (2 < uVar42) {\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);\n            if (iVar13 == 0) goto LAB_002a725c;\n            if (uVar11 == 1) {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }\n            else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }\n            puVar21 = PTR_s_t_to_left_003a88e4;\n            if (PVar9 == UndefinedPixelTrait) {\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }\n            else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }\nLAB_002a5fb4:\n            if (uVar11 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }\n            sVar8 = pIVar5->rows;\nLAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        pbVar14 = unaff_s8;\n        if (iVar6 != 0) {\n          puVar27 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar40 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar27);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,pIVar5->filename,\n                     uVar40);\n          (*(code *)PTR_DestroyString_003a9074)(uVar40);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((image_info->number_scenes != 0) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);\n        if ((iVar6 == 0) || (magick._0_2_ != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(image_info,pIVar5,exception);\n        iVar6 = (*(code *)PTR_GetNextImageInList_003a9470)(pIVar5);\n        if (iVar6 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          goto LAB_002a57d0;\n        }\n        pIVar5 = (Image *)(*(code *)PTR_SyncNextImageInList_003a9408)(pIVar5);\n        uVar52 = (*(code *)PTR_TellBlob_003a931c)(pIVar5);\n        uVar53 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (pIVar5,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar52 >> 0x20),\n                           (int)uVar52,uVar53);\n        if (iVar6 == 0) goto LAB_002a74b0;\n      } while (magick._0_2_ == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\nLAB_002a56b8:\n      pIVar5 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(pIVar5);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);\n      pIVar45 = pIVar5;\n      if (pIVar5 != (Image *)0x0) goto LAB_002a5728;\n    }\n  }\n  while (iVar4 != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    pcVar19 = local_188->filename;\n    uVar40 = 0x143;\nLAB_002a6244:\n    puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar21 = PTR_s_courses_003a88ec + -0x17c;\n    uVar22 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar35,puVar39,uVar40,uVar22,puVar21,puVar20,pcVar19);\n    pIVar45 = pIVar5;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(pIVar45);\n    pIVar5 = (Image *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(pIVar45);\n  }\n  return pIVar5;\n}" { (declaration "ulonglong uVar1;" type_identifier identifier ;) (declaration "ulonglong uVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "int iVar4;" primitive_type identifier ;) (declaration "Image *pIVar5;" type_identifier (pointer_declarator "*pIVar5" * identifier) ;) (declaration "int iVar6;" primitive_type identifier ;) (declaration "ssize_t sVar7;" primitive_type identifier ;) (declaration "size_t sVar8;" primitive_type identifier ;) (declaration "PixelTrait PVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "uint uVar11;" type_identifier identifier ;) (declaration "uint uVar12;" type_identifier identifier ;) (declaration "int iVar13;" primitive_type identifier ;) (declaration "byte *pbVar14;" type_identifier (pointer_declarator "*pbVar14" * identifier) ;) (declaration "uint uVar15;" type_identifier identifier ;) (declaration "uint uVar16;" type_identifier identifier ;) (declaration "byte *pbVar17;" type_identifier (pointer_declarator "*pbVar17" * identifier) ;) (declaration "byte bVar28;" type_identifier identifier ;) (declaration "int iVar18;" primitive_type identifier ;) (declaration "char *pcVar19;" primitive_type (pointer_declarator "*pcVar19" * identifier) ;) (declaration "undefined *puVar20;" type_identifier (pointer_declarator "*puVar20" * identifier) ;) (declaration "undefined *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "undefined4 uVar22;" type_identifier identifier ;) (declaration "byte *pbVar23;" type_identifier (pointer_declarator "*pbVar23" * identifier) ;) (declaration "int iVar24;" primitive_type identifier ;) (declaration "MagickRealType *pMVar25;" type_identifier (pointer_declarator "*pMVar25" * identifier) ;) (declaration "undefined *puVar26;" type_identifier (pointer_declarator "*puVar26" * identifier) ;) (declaration "undefined4 *puVar27;" type_identifier (pointer_declarator "*puVar27" * identifier) ;) (declaration "uint uVar29;" type_identifier identifier ;) (declaration "size_t sVar30;" primitive_type identifier ;) (declaration "size_t sVar31;" primitive_type identifier ;) (declaration "PixelInfo *pPVar32;" type_identifier (pointer_declarator "*pPVar32" * identifier) ;) (declaration "float *pfVar33;" primitive_type (pointer_declarator "*pfVar33" * identifier) ;) (declaration "float *pfVar34;" primitive_type (pointer_declarator "*pfVar34" * identifier) ;) (declaration "undefined *puVar35;" type_identifier (pointer_declarator "*puVar35" * identifier) ;) (declaration "byte *pbVar36;" type_identifier (pointer_declarator "*pbVar36" * identifier) ;) (declaration "byte *pbVar37;" type_identifier (pointer_declarator "*pbVar37" * identifier) ;) (declaration "float *pfVar38;" primitive_type (pointer_declarator "*pfVar38" * identifier) ;) (declaration "undefined *puVar39;" type_identifier (pointer_declarator "*puVar39" * identifier) ;) (declaration "undefined4 uVar40;" type_identifier identifier ;) (declaration "PixelChannelMap *pPVar41;" type_identifier (pointer_declarator "*pPVar41" * identifier) ;) (declaration "uint uVar42;" type_identifier identifier ;) (declaration "uint uVar43;" type_identifier identifier ;) (declaration "byte *pbVar44;" type_identifier (pointer_declarator "*pbVar44" * identifier) ;) (declaration "Image *pIVar45;" type_identifier (pointer_declarator "*pIVar45" * identifier) ;) (declaration "byte *unaff_s8;" type_identifier (pointer_declarator "*unaff_s8" * identifier) ;) (declaration "double dVar46;" primitive_type identifier ;) (declaration "double dVar47;" primitive_type identifier ;) (declaration "double dVar48;" primitive_type identifier ;) (declaration "double dVar49;" primitive_type identifier ;) (declaration "double dVar50;" primitive_type identifier ;) (declaration "longlong lVar51;" type_identifier identifier ;) (declaration "undefined8 uVar52;" type_identifier identifier ;) (declaration "undefined8 uVar53;" type_identifier identifier ;) (declaration "byte *local_1a0;" type_identifier (pointer_declarator "*local_1a0" * identifier) ;) (declaration "ExceptionInfo *local_18c;" type_identifier (pointer_declarator "*local_18c" * identifier) ;) (declaration "ImageInfo *local_188;" type_identifier (pointer_declarator "*local_188" * identifier) ;) (declaration "int local_180;" primitive_type identifier ;) (declaration "uint local_17c;" type_identifier identifier ;) (declaration "byte *local_178;" type_identifier (pointer_declarator "*local_178" * identifier) ;) (declaration "int local_164;" primitive_type identifier ;) (declaration "char magick [12];" primitive_type (array_declarator "magick [12]" identifier [ number_literal ]) ;) (declaration "uchar background_color [256];" type_identifier (array_declarator "background_color [256]" identifier [ number_literal ]) ;) (expression_statement "puVar3 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar3 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "iVar4 = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "iVar4 = *(int *)PTR___stack_chk_guard_003a9230" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_003a9230" * (cast_expression "(int *)PTR___stack_chk_guard_003a9230" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (image_info == (ImageInfo *)0x0) {\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xd78,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }" if (parenthesized_expression "(image_info == (ImageInfo *)0x0)" ( (binary_expression "image_info == (ImageInfo *)0x0" identifier == (cast_expression "(ImageInfo *)0x0" ( (type_descriptor "ImageInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xd78,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }" { (expression_statement "pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xd78,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);" (assignment_expression "pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xd78,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" identifier = (cast_expression "(Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xd78,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xd78,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xd78,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (binary_expression "PTR_LAB_003a88e0 + 0xd78" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4" identifier + number_literal) ))))) ;) (return_statement "return pIVar5;" return identifier ;) })) (if_statement "if (image_info->signature != 0xabacadab) {\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xda0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }" if (parenthesized_expression "(image_info->signature != 0xabacadab)" ( (binary_expression "image_info->signature != 0xabacadab" (field_expression "image_info->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xda0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }" { (expression_statement "pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xda0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);" (assignment_expression "pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xda0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" identifier = (cast_expression "(Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xda0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0xda0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xda0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (binary_expression "PTR_LAB_003a88e0 + 0xda0" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4" identifier + number_literal) ))))) ;) (return_statement "return pIVar5;" return identifier ;) })) (if_statement "if (image_info->debug != MagickFalse) {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);\n  }" if (parenthesized_expression "(image_info->debug != MagickFalse)" ( (binary_expression "image_info->debug != MagickFalse" (field_expression "image_info->debug" identifier -> field_identifier) != identifier) )) (compound_statement "{\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);\n  }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" * (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,image_info->filename)" ( number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" identifier + number_literal) , (field_expression "image_info->filename" identifier -> field_identifier) ))) ;) })) (if_statement "if (exception == (ExceptionInfo *)0x0) {\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x1cac,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }" if (parenthesized_expression "(exception == (ExceptionInfo *)0x0)" ( (binary_expression "exception == (ExceptionInfo *)0x0" identifier == (cast_expression "(ExceptionInfo *)0x0" ( (type_descriptor "ExceptionInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x1cac,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }" { (expression_statement "pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x1cac,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);" (assignment_expression "pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x1cac,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" identifier = (cast_expression "(Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x1cac,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x1cac,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0x1cac,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1cac" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4" identifier + number_literal) ))))) ;) (return_statement "return pIVar5;" return identifier ;) })) (if_statement "if (exception->signature != 0xabacadab) {\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x294c,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }" if (parenthesized_expression "(exception->signature != 0xabacadab)" ( (binary_expression "exception->signature != 0xabacadab" (field_expression "exception->signature" identifier -> field_identifier) != number_literal) )) (compound_statement "{\n    pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x294c,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return pIVar5;\n  }" { (expression_statement "pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x294c,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);" (assignment_expression "pIVar5 = (Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x294c,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" identifier = (cast_expression "(Image *)(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x294c,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                                (PTR_LAB_003a88e0 + 0x294c,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0x294c,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (binary_expression "PTR_LAB_003a88e0 + 0x294c" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4" identifier + number_literal) ))))) ;) (return_statement "return pIVar5;" return identifier ;) })) (expression_statement "pIVar5 = (Image *)(*(code *)PTR_AcquireImage_003a960c)(image_info,exception);" (assignment_expression "pIVar5 = (Image *)(*(code *)PTR_AcquireImage_003a960c)(image_info,exception)" identifier = (cast_expression "(Image *)(*(code *)PTR_AcquireImage_003a960c)(image_info,exception)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireImage_003a960c)(image_info,exception)" (parenthesized_expression "(*(code *)PTR_AcquireImage_003a960c)" ( (pointer_expression "*(code *)PTR_AcquireImage_003a960c" * (cast_expression "(code *)PTR_AcquireImage_003a960c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image_info,exception)" ( identifier , identifier ))))) ;) (expression_statement "iVar6 = (*(code *)PTR_OpenBlob_003a924c)(image_info,pIVar5,2,exception);" (assignment_expression "iVar6 = (*(code *)PTR_OpenBlob_003a924c)(image_info,pIVar5,2,exception)" identifier = (call_expression "(*(code *)PTR_OpenBlob_003a924c)(image_info,pIVar5,2,exception)" (parenthesized_expression "(*(code *)PTR_OpenBlob_003a924c)" ( (pointer_expression "*(code *)PTR_OpenBlob_003a924c" * (cast_expression "(code *)PTR_OpenBlob_003a924c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image_info,pIVar5,2,exception)" ( identifier , identifier , number_literal , identifier )))) ;) (expression_statement "pbVar14 = unaff_s8;" (assignment_expression "pbVar14 = unaff_s8" identifier = identifier) ;) (if_statement "if (iVar6 == 0) {\nLAB_002a57d0:\n    pIVar5 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(pIVar5);\n    unaff_s8 = pbVar14;\n  }\n  else {\n    iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);\n    puVar20 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar6 == 2) && (magick._0_2_ == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar48 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar49 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        sVar7 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).x = sVar7;\n        sVar7 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).y = sVar7;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        pIVar5->columns = sVar8;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobByte_003a97f0;\n        pIVar5->rows = sVar8;\n        PVar9 = (*(code *)puVar21)(pIVar5);\n        pIVar5->alpha_trait = PVar9 & BlendPixelTrait;\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        local_18c = exception;\n        local_188 = image_info;\n        if (0x15 < (uVar12 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xee;\nLAB_002a6770:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -400;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar13 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar13 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar29 = 1 << (uVar12 & 0x1f);\n        if (((uVar10 & 0xfffffffd) == 0) ||\n           ((((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||\n            (iVar6 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar10) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < pIVar5->columns - 1) || (0x7ffe < pIVar5->rows - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((PVar9 & UpdatePixelTrait) == UndefinedPixelTrait) {\n          pbVar14 = background_color;\n          do {\n            pbVar17 = pbVar14 + 1;\n            bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n            *pbVar14 = bVar28;\n            pbVar14 = pbVar17;\n          } while (background_color + uVar10 != pbVar17);\n        }\n        else {\n          pbVar14 = background_color;\n          do {\n            *pbVar14 = 0;\n            pbVar14 = pbVar14 + 1;\n          } while (pbVar14 != background_color + uVar10);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        if ((uVar10 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar42 = uVar10;\n        if (pIVar5->alpha_trait != UndefinedPixelTrait) {\n          uVar42 = uVar10 + 1;\n        }\n        uVar1 = (ulonglong)pIVar5->columns * (ulonglong)pIVar5->rows;\n        lVar51 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (lVar51 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x116;\nLAB_002a6a54:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar51 = (ulonglong)uVar42 * (uVar1 & 0xffffffff);\n        uVar43 = uVar42 * local_180 + (int)((ulonglong)lVar51 >> 0x20);\n        uVar52 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        uVar52 = (*(code *)PTR___udivdi3_003a89c0)\n                           (uVar43 & 0x1fffffff,(int)lVar51,(int)((ulonglong)uVar52 >> 0x20),\n                            (int)uVar52);\n        if (((int)((ulonglong)uVar52 >> 0x20) != 0) || (0xfe < (uint)uVar52)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (uVar2 < (ulonglong)uVar11 * (ulonglong)uVar29) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar11 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar11,3 << (uVar12 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar11 << (uVar12 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar11 < 1) {\n            uVar10 = 0;\n          }\n          else {\n            dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar15 = 0;\n            do {\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            } while (uVar11 != uVar15);\n          }\n        }\n        pbVar14 = unaff_s8;\n        if (((PVar9 & 8) != UndefinedPixelTrait) &&\n           (uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5), uVar15 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar13 = uVar15 - 1;\n          iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,iVar13,unaff_s8);\n          puVar21 = PTR_SetImageProperty_003a9534;\n          if (iVar13 != iVar6) goto LAB_002a7380;\n          puVar35 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar13] = 0;\n          (*(code *)puVar21)(pIVar5,puVar35,unaff_s8,exception);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar14 = unaff_s8;\n          if ((uVar15 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          }\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        unaff_s8 = pbVar14;\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene)) break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (pIVar5,pIVar5->columns,pIVar5->rows,exception);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar16 = uVar42 + 1;\n        local_17c = (uint)uVar1;\n        uVar15 = uVar42;\n        if ((uVar42 & 1) != 0) {\n          uVar43 = uVar16 * local_180 + (int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar15 = uVar16;\n        }\n        if (uVar43 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar43 = 4;\n        if (3 < uVar15) {\n          uVar43 = uVar15;\n        }\n        iVar6 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(pIVar5->columns,uVar43 * pIVar5->rows);\n        if (iVar6 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar40 = 0x165;\n          goto LAB_002a705c;\n        }\n        sVar30 = pIVar5->rows;\n        sVar8 = pIVar5->columns;\n        pbVar17 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar6);\n        (*(code *)PTR_memset_003a96d4)(pbVar17,0,sVar8 * sVar30 * uVar43);\n        if ((PVar9 & (UpdatePixelTrait|CopyPixelTrait)) == CopyPixelTrait) {\n          uVar43 = 0;\n          if ((int)local_17c < 1) {\n            uVar10 = 0;\n          }\n          else {\n            pbVar23 = pbVar17;\n            do {\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            } while (local_17c != uVar43);\n          }\n        }\n        uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar43 == 0xffffffff) {\n          if (uVar11 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n          uVar40 = 0x18b;\nLAB_002a5df4:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -0x17c;\n          uVar22 = 0x1a9;\n          unaff_s8 = pbVar14;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar43 = uVar43 & 0x3f;\n        do {\n          if (uVar43 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))();\n            return pIVar5;\n          }\n          uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar43 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x1fb;\n            pbVar14 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar43 = uVar43 & 0x3f;\n        } while (uVar43 != 7);\n        if (uVar11 == 0) {\n          if (uVar42 < 3) {\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception);\n            if (iVar13 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x246;\nLAB_002a705c:\n            pcVar19 = image_info->filename;\n            puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar21 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar22 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)pIVar5->rows) {\nLAB_002a5be0:\n            iVar13 = 0;\n            dVar50 = *(double *)(puVar20 + -0x5af0);\n            puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar10 = 0;\n            do {\n              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n              if (iVar18 == 0) break;\n              sVar30 = pIVar5->columns;\n              sVar8 = 0;\n              if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }\n              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n              if (iVar18 == 0) break;\n              sVar8 = pIVar5->rows;\n              if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }\n              uVar12 = uVar10 + 1;\n              iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n              uVar10 = uVar12;\n            } while ((int)uVar12 < (int)sVar8);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar11 == 1) {\n            if (0 < (int)local_17c) {\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }\n            if (2 < uVar42) {\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);\n            if (iVar13 == 0) goto LAB_002a725c;\n            if (uVar11 == 1) {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }\n            else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }\n            puVar21 = PTR_s_t_to_left_003a88e4;\n            if (PVar9 == UndefinedPixelTrait) {\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }\n            else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }\nLAB_002a5fb4:\n            if (uVar11 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }\n            sVar8 = pIVar5->rows;\nLAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        pbVar14 = unaff_s8;\n        if (iVar6 != 0) {\n          puVar27 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar40 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar27);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,pIVar5->filename,\n                     uVar40);\n          (*(code *)PTR_DestroyString_003a9074)(uVar40);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((image_info->number_scenes != 0) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);\n        if ((iVar6 == 0) || (magick._0_2_ != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(image_info,pIVar5,exception);\n        iVar6 = (*(code *)PTR_GetNextImageInList_003a9470)(pIVar5);\n        if (iVar6 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          goto LAB_002a57d0;\n        }\n        pIVar5 = (Image *)(*(code *)PTR_SyncNextImageInList_003a9408)(pIVar5);\n        uVar52 = (*(code *)PTR_TellBlob_003a931c)(pIVar5);\n        uVar53 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (pIVar5,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar52 >> 0x20),\n                           (int)uVar52,uVar53);\n        if (iVar6 == 0) goto LAB_002a74b0;\n      } while (magick._0_2_ == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\nLAB_002a56b8:\n      pIVar5 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(pIVar5);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);\n      pIVar45 = pIVar5;\n      if (pIVar5 != (Image *)0x0) goto LAB_002a5728;\n    }\n  }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_002a57d0:\n    pIVar5 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(pIVar5);\n    unaff_s8 = pbVar14;\n  }" { (labeled_statement "LAB_002a57d0:\n    pIVar5 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(pIVar5);" statement_identifier : (expression_statement "pIVar5 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(pIVar5);" (assignment_expression "pIVar5 = (Image *)(*(code *)PTR_DestroyImageList_003a9510)(pIVar5)" identifier = (cast_expression "(Image *)(*(code *)PTR_DestroyImageList_003a9510)(pIVar5)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(pIVar5)" (parenthesized_expression "(*(code *)PTR_DestroyImageList_003a9510)" ( (pointer_expression "*(code *)PTR_DestroyImageList_003a9510" * (cast_expression "(code *)PTR_DestroyImageList_003a9510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier ))))) ;)) (expression_statement "unaff_s8 = pbVar14;" (assignment_expression "unaff_s8 = pbVar14" identifier = identifier) ;) }) (else_clause "else {\n    iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);\n    puVar20 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar6 == 2) && (magick._0_2_ == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar48 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar49 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        sVar7 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).x = sVar7;\n        sVar7 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).y = sVar7;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        pIVar5->columns = sVar8;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobByte_003a97f0;\n        pIVar5->rows = sVar8;\n        PVar9 = (*(code *)puVar21)(pIVar5);\n        pIVar5->alpha_trait = PVar9 & BlendPixelTrait;\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        local_18c = exception;\n        local_188 = image_info;\n        if (0x15 < (uVar12 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xee;\nLAB_002a6770:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -400;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar13 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar13 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar29 = 1 << (uVar12 & 0x1f);\n        if (((uVar10 & 0xfffffffd) == 0) ||\n           ((((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||\n            (iVar6 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar10) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < pIVar5->columns - 1) || (0x7ffe < pIVar5->rows - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((PVar9 & UpdatePixelTrait) == UndefinedPixelTrait) {\n          pbVar14 = background_color;\n          do {\n            pbVar17 = pbVar14 + 1;\n            bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n            *pbVar14 = bVar28;\n            pbVar14 = pbVar17;\n          } while (background_color + uVar10 != pbVar17);\n        }\n        else {\n          pbVar14 = background_color;\n          do {\n            *pbVar14 = 0;\n            pbVar14 = pbVar14 + 1;\n          } while (pbVar14 != background_color + uVar10);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        if ((uVar10 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar42 = uVar10;\n        if (pIVar5->alpha_trait != UndefinedPixelTrait) {\n          uVar42 = uVar10 + 1;\n        }\n        uVar1 = (ulonglong)pIVar5->columns * (ulonglong)pIVar5->rows;\n        lVar51 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (lVar51 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x116;\nLAB_002a6a54:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar51 = (ulonglong)uVar42 * (uVar1 & 0xffffffff);\n        uVar43 = uVar42 * local_180 + (int)((ulonglong)lVar51 >> 0x20);\n        uVar52 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        uVar52 = (*(code *)PTR___udivdi3_003a89c0)\n                           (uVar43 & 0x1fffffff,(int)lVar51,(int)((ulonglong)uVar52 >> 0x20),\n                            (int)uVar52);\n        if (((int)((ulonglong)uVar52 >> 0x20) != 0) || (0xfe < (uint)uVar52)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (uVar2 < (ulonglong)uVar11 * (ulonglong)uVar29) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar11 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar11,3 << (uVar12 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar11 << (uVar12 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar11 < 1) {\n            uVar10 = 0;\n          }\n          else {\n            dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar15 = 0;\n            do {\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            } while (uVar11 != uVar15);\n          }\n        }\n        pbVar14 = unaff_s8;\n        if (((PVar9 & 8) != UndefinedPixelTrait) &&\n           (uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5), uVar15 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar13 = uVar15 - 1;\n          iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,iVar13,unaff_s8);\n          puVar21 = PTR_SetImageProperty_003a9534;\n          if (iVar13 != iVar6) goto LAB_002a7380;\n          puVar35 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar13] = 0;\n          (*(code *)puVar21)(pIVar5,puVar35,unaff_s8,exception);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar14 = unaff_s8;\n          if ((uVar15 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          }\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        unaff_s8 = pbVar14;\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene)) break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (pIVar5,pIVar5->columns,pIVar5->rows,exception);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar16 = uVar42 + 1;\n        local_17c = (uint)uVar1;\n        uVar15 = uVar42;\n        if ((uVar42 & 1) != 0) {\n          uVar43 = uVar16 * local_180 + (int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar15 = uVar16;\n        }\n        if (uVar43 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar43 = 4;\n        if (3 < uVar15) {\n          uVar43 = uVar15;\n        }\n        iVar6 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(pIVar5->columns,uVar43 * pIVar5->rows);\n        if (iVar6 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar40 = 0x165;\n          goto LAB_002a705c;\n        }\n        sVar30 = pIVar5->rows;\n        sVar8 = pIVar5->columns;\n        pbVar17 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar6);\n        (*(code *)PTR_memset_003a96d4)(pbVar17,0,sVar8 * sVar30 * uVar43);\n        if ((PVar9 & (UpdatePixelTrait|CopyPixelTrait)) == CopyPixelTrait) {\n          uVar43 = 0;\n          if ((int)local_17c < 1) {\n            uVar10 = 0;\n          }\n          else {\n            pbVar23 = pbVar17;\n            do {\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            } while (local_17c != uVar43);\n          }\n        }\n        uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar43 == 0xffffffff) {\n          if (uVar11 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n          uVar40 = 0x18b;\nLAB_002a5df4:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -0x17c;\n          uVar22 = 0x1a9;\n          unaff_s8 = pbVar14;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar43 = uVar43 & 0x3f;\n        do {\n          if (uVar43 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))();\n            return pIVar5;\n          }\n          uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar43 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x1fb;\n            pbVar14 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar43 = uVar43 & 0x3f;\n        } while (uVar43 != 7);\n        if (uVar11 == 0) {\n          if (uVar42 < 3) {\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception);\n            if (iVar13 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x246;\nLAB_002a705c:\n            pcVar19 = image_info->filename;\n            puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar21 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar22 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)pIVar5->rows) {\nLAB_002a5be0:\n            iVar13 = 0;\n            dVar50 = *(double *)(puVar20 + -0x5af0);\n            puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar10 = 0;\n            do {\n              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n              if (iVar18 == 0) break;\n              sVar30 = pIVar5->columns;\n              sVar8 = 0;\n              if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }\n              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n              if (iVar18 == 0) break;\n              sVar8 = pIVar5->rows;\n              if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }\n              uVar12 = uVar10 + 1;\n              iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n              uVar10 = uVar12;\n            } while ((int)uVar12 < (int)sVar8);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar11 == 1) {\n            if (0 < (int)local_17c) {\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }\n            if (2 < uVar42) {\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);\n            if (iVar13 == 0) goto LAB_002a725c;\n            if (uVar11 == 1) {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }\n            else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }\n            puVar21 = PTR_s_t_to_left_003a88e4;\n            if (PVar9 == UndefinedPixelTrait) {\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }\n            else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }\nLAB_002a5fb4:\n            if (uVar11 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }\n            sVar8 = pIVar5->rows;\nLAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        pbVar14 = unaff_s8;\n        if (iVar6 != 0) {\n          puVar27 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar40 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar27);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,pIVar5->filename,\n                     uVar40);\n          (*(code *)PTR_DestroyString_003a9074)(uVar40);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((image_info->number_scenes != 0) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);\n        if ((iVar6 == 0) || (magick._0_2_ != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(image_info,pIVar5,exception);\n        iVar6 = (*(code *)PTR_GetNextImageInList_003a9470)(pIVar5);\n        if (iVar6 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          goto LAB_002a57d0;\n        }\n        pIVar5 = (Image *)(*(code *)PTR_SyncNextImageInList_003a9408)(pIVar5);\n        uVar52 = (*(code *)PTR_TellBlob_003a931c)(pIVar5);\n        uVar53 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (pIVar5,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar52 >> 0x20),\n                           (int)uVar52,uVar53);\n        if (iVar6 == 0) goto LAB_002a74b0;\n      } while (magick._0_2_ == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\nLAB_002a56b8:\n      pIVar5 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(pIVar5);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);\n      pIVar45 = pIVar5;\n      if (pIVar5 != (Image *)0x0) goto LAB_002a5728;\n    }\n  }" else (compound_statement "{\n    iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);\n    puVar20 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar6 == 2) && (magick._0_2_ == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar48 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar49 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        sVar7 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).x = sVar7;\n        sVar7 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).y = sVar7;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        pIVar5->columns = sVar8;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobByte_003a97f0;\n        pIVar5->rows = sVar8;\n        PVar9 = (*(code *)puVar21)(pIVar5);\n        pIVar5->alpha_trait = PVar9 & BlendPixelTrait;\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        local_18c = exception;\n        local_188 = image_info;\n        if (0x15 < (uVar12 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xee;\nLAB_002a6770:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -400;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar13 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar13 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar29 = 1 << (uVar12 & 0x1f);\n        if (((uVar10 & 0xfffffffd) == 0) ||\n           ((((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||\n            (iVar6 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar10) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < pIVar5->columns - 1) || (0x7ffe < pIVar5->rows - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((PVar9 & UpdatePixelTrait) == UndefinedPixelTrait) {\n          pbVar14 = background_color;\n          do {\n            pbVar17 = pbVar14 + 1;\n            bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n            *pbVar14 = bVar28;\n            pbVar14 = pbVar17;\n          } while (background_color + uVar10 != pbVar17);\n        }\n        else {\n          pbVar14 = background_color;\n          do {\n            *pbVar14 = 0;\n            pbVar14 = pbVar14 + 1;\n          } while (pbVar14 != background_color + uVar10);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        if ((uVar10 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar42 = uVar10;\n        if (pIVar5->alpha_trait != UndefinedPixelTrait) {\n          uVar42 = uVar10 + 1;\n        }\n        uVar1 = (ulonglong)pIVar5->columns * (ulonglong)pIVar5->rows;\n        lVar51 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (lVar51 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x116;\nLAB_002a6a54:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar51 = (ulonglong)uVar42 * (uVar1 & 0xffffffff);\n        uVar43 = uVar42 * local_180 + (int)((ulonglong)lVar51 >> 0x20);\n        uVar52 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        uVar52 = (*(code *)PTR___udivdi3_003a89c0)\n                           (uVar43 & 0x1fffffff,(int)lVar51,(int)((ulonglong)uVar52 >> 0x20),\n                            (int)uVar52);\n        if (((int)((ulonglong)uVar52 >> 0x20) != 0) || (0xfe < (uint)uVar52)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (uVar2 < (ulonglong)uVar11 * (ulonglong)uVar29) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar11 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar11,3 << (uVar12 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar11 << (uVar12 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar11 < 1) {\n            uVar10 = 0;\n          }\n          else {\n            dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar15 = 0;\n            do {\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            } while (uVar11 != uVar15);\n          }\n        }\n        pbVar14 = unaff_s8;\n        if (((PVar9 & 8) != UndefinedPixelTrait) &&\n           (uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5), uVar15 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar13 = uVar15 - 1;\n          iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,iVar13,unaff_s8);\n          puVar21 = PTR_SetImageProperty_003a9534;\n          if (iVar13 != iVar6) goto LAB_002a7380;\n          puVar35 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar13] = 0;\n          (*(code *)puVar21)(pIVar5,puVar35,unaff_s8,exception);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar14 = unaff_s8;\n          if ((uVar15 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          }\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        unaff_s8 = pbVar14;\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene)) break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (pIVar5,pIVar5->columns,pIVar5->rows,exception);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar16 = uVar42 + 1;\n        local_17c = (uint)uVar1;\n        uVar15 = uVar42;\n        if ((uVar42 & 1) != 0) {\n          uVar43 = uVar16 * local_180 + (int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar15 = uVar16;\n        }\n        if (uVar43 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar43 = 4;\n        if (3 < uVar15) {\n          uVar43 = uVar15;\n        }\n        iVar6 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(pIVar5->columns,uVar43 * pIVar5->rows);\n        if (iVar6 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar40 = 0x165;\n          goto LAB_002a705c;\n        }\n        sVar30 = pIVar5->rows;\n        sVar8 = pIVar5->columns;\n        pbVar17 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar6);\n        (*(code *)PTR_memset_003a96d4)(pbVar17,0,sVar8 * sVar30 * uVar43);\n        if ((PVar9 & (UpdatePixelTrait|CopyPixelTrait)) == CopyPixelTrait) {\n          uVar43 = 0;\n          if ((int)local_17c < 1) {\n            uVar10 = 0;\n          }\n          else {\n            pbVar23 = pbVar17;\n            do {\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            } while (local_17c != uVar43);\n          }\n        }\n        uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar43 == 0xffffffff) {\n          if (uVar11 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n          uVar40 = 0x18b;\nLAB_002a5df4:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -0x17c;\n          uVar22 = 0x1a9;\n          unaff_s8 = pbVar14;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar43 = uVar43 & 0x3f;\n        do {\n          if (uVar43 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))();\n            return pIVar5;\n          }\n          uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar43 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x1fb;\n            pbVar14 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar43 = uVar43 & 0x3f;\n        } while (uVar43 != 7);\n        if (uVar11 == 0) {\n          if (uVar42 < 3) {\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception);\n            if (iVar13 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x246;\nLAB_002a705c:\n            pcVar19 = image_info->filename;\n            puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar21 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar22 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)pIVar5->rows) {\nLAB_002a5be0:\n            iVar13 = 0;\n            dVar50 = *(double *)(puVar20 + -0x5af0);\n            puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar10 = 0;\n            do {\n              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n              if (iVar18 == 0) break;\n              sVar30 = pIVar5->columns;\n              sVar8 = 0;\n              if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }\n              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n              if (iVar18 == 0) break;\n              sVar8 = pIVar5->rows;\n              if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }\n              uVar12 = uVar10 + 1;\n              iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n              uVar10 = uVar12;\n            } while ((int)uVar12 < (int)sVar8);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar11 == 1) {\n            if (0 < (int)local_17c) {\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }\n            if (2 < uVar42) {\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);\n            if (iVar13 == 0) goto LAB_002a725c;\n            if (uVar11 == 1) {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }\n            else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }\n            puVar21 = PTR_s_t_to_left_003a88e4;\n            if (PVar9 == UndefinedPixelTrait) {\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }\n            else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }\nLAB_002a5fb4:\n            if (uVar11 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }\n            sVar8 = pIVar5->rows;\nLAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        pbVar14 = unaff_s8;\n        if (iVar6 != 0) {\n          puVar27 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar40 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar27);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,pIVar5->filename,\n                     uVar40);\n          (*(code *)PTR_DestroyString_003a9074)(uVar40);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((image_info->number_scenes != 0) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);\n        if ((iVar6 == 0) || (magick._0_2_ != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(image_info,pIVar5,exception);\n        iVar6 = (*(code *)PTR_GetNextImageInList_003a9470)(pIVar5);\n        if (iVar6 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          goto LAB_002a57d0;\n        }\n        pIVar5 = (Image *)(*(code *)PTR_SyncNextImageInList_003a9408)(pIVar5);\n        uVar52 = (*(code *)PTR_TellBlob_003a931c)(pIVar5);\n        uVar53 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (pIVar5,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar52 >> 0x20),\n                           (int)uVar52,uVar53);\n        if (iVar6 == 0) goto LAB_002a74b0;\n      } while (magick._0_2_ == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\nLAB_002a56b8:\n      pIVar5 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(pIVar5);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);\n      pIVar45 = pIVar5;\n      if (pIVar5 != (Image *)0x0) goto LAB_002a5728;\n    }\n  }" { (expression_statement "iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick)" identifier = (call_expression "(*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick)" (parenthesized_expression "(*(code *)PTR_ReadBlob_003a8dac)" ( (pointer_expression "*(code *)PTR_ReadBlob_003a8dac" * (cast_expression "(code *)PTR_ReadBlob_003a8dac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,2,magick)" ( identifier , number_literal , identifier )))) ;) (expression_statement "puVar20 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;" (assignment_expression "puVar20 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8" identifier = identifier) ;) (if_statement "if ((iVar6 == 2) && (magick._0_2_ == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar48 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar49 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        sVar7 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).x = sVar7;\n        sVar7 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).y = sVar7;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        pIVar5->columns = sVar8;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobByte_003a97f0;\n        pIVar5->rows = sVar8;\n        PVar9 = (*(code *)puVar21)(pIVar5);\n        pIVar5->alpha_trait = PVar9 & BlendPixelTrait;\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        local_18c = exception;\n        local_188 = image_info;\n        if (0x15 < (uVar12 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xee;\nLAB_002a6770:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -400;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar13 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar13 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar29 = 1 << (uVar12 & 0x1f);\n        if (((uVar10 & 0xfffffffd) == 0) ||\n           ((((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||\n            (iVar6 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar10) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < pIVar5->columns - 1) || (0x7ffe < pIVar5->rows - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((PVar9 & UpdatePixelTrait) == UndefinedPixelTrait) {\n          pbVar14 = background_color;\n          do {\n            pbVar17 = pbVar14 + 1;\n            bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n            *pbVar14 = bVar28;\n            pbVar14 = pbVar17;\n          } while (background_color + uVar10 != pbVar17);\n        }\n        else {\n          pbVar14 = background_color;\n          do {\n            *pbVar14 = 0;\n            pbVar14 = pbVar14 + 1;\n          } while (pbVar14 != background_color + uVar10);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        if ((uVar10 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar42 = uVar10;\n        if (pIVar5->alpha_trait != UndefinedPixelTrait) {\n          uVar42 = uVar10 + 1;\n        }\n        uVar1 = (ulonglong)pIVar5->columns * (ulonglong)pIVar5->rows;\n        lVar51 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (lVar51 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x116;\nLAB_002a6a54:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar51 = (ulonglong)uVar42 * (uVar1 & 0xffffffff);\n        uVar43 = uVar42 * local_180 + (int)((ulonglong)lVar51 >> 0x20);\n        uVar52 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        uVar52 = (*(code *)PTR___udivdi3_003a89c0)\n                           (uVar43 & 0x1fffffff,(int)lVar51,(int)((ulonglong)uVar52 >> 0x20),\n                            (int)uVar52);\n        if (((int)((ulonglong)uVar52 >> 0x20) != 0) || (0xfe < (uint)uVar52)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (uVar2 < (ulonglong)uVar11 * (ulonglong)uVar29) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar11 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar11,3 << (uVar12 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar11 << (uVar12 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar11 < 1) {\n            uVar10 = 0;\n          }\n          else {\n            dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar15 = 0;\n            do {\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            } while (uVar11 != uVar15);\n          }\n        }\n        pbVar14 = unaff_s8;\n        if (((PVar9 & 8) != UndefinedPixelTrait) &&\n           (uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5), uVar15 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar13 = uVar15 - 1;\n          iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,iVar13,unaff_s8);\n          puVar21 = PTR_SetImageProperty_003a9534;\n          if (iVar13 != iVar6) goto LAB_002a7380;\n          puVar35 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar13] = 0;\n          (*(code *)puVar21)(pIVar5,puVar35,unaff_s8,exception);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar14 = unaff_s8;\n          if ((uVar15 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          }\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        unaff_s8 = pbVar14;\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene)) break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (pIVar5,pIVar5->columns,pIVar5->rows,exception);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar16 = uVar42 + 1;\n        local_17c = (uint)uVar1;\n        uVar15 = uVar42;\n        if ((uVar42 & 1) != 0) {\n          uVar43 = uVar16 * local_180 + (int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar15 = uVar16;\n        }\n        if (uVar43 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar43 = 4;\n        if (3 < uVar15) {\n          uVar43 = uVar15;\n        }\n        iVar6 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(pIVar5->columns,uVar43 * pIVar5->rows);\n        if (iVar6 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar40 = 0x165;\n          goto LAB_002a705c;\n        }\n        sVar30 = pIVar5->rows;\n        sVar8 = pIVar5->columns;\n        pbVar17 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar6);\n        (*(code *)PTR_memset_003a96d4)(pbVar17,0,sVar8 * sVar30 * uVar43);\n        if ((PVar9 & (UpdatePixelTrait|CopyPixelTrait)) == CopyPixelTrait) {\n          uVar43 = 0;\n          if ((int)local_17c < 1) {\n            uVar10 = 0;\n          }\n          else {\n            pbVar23 = pbVar17;\n            do {\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            } while (local_17c != uVar43);\n          }\n        }\n        uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar43 == 0xffffffff) {\n          if (uVar11 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n          uVar40 = 0x18b;\nLAB_002a5df4:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -0x17c;\n          uVar22 = 0x1a9;\n          unaff_s8 = pbVar14;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar43 = uVar43 & 0x3f;\n        do {\n          if (uVar43 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))();\n            return pIVar5;\n          }\n          uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar43 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x1fb;\n            pbVar14 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar43 = uVar43 & 0x3f;\n        } while (uVar43 != 7);\n        if (uVar11 == 0) {\n          if (uVar42 < 3) {\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception);\n            if (iVar13 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x246;\nLAB_002a705c:\n            pcVar19 = image_info->filename;\n            puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar21 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar22 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)pIVar5->rows) {\nLAB_002a5be0:\n            iVar13 = 0;\n            dVar50 = *(double *)(puVar20 + -0x5af0);\n            puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar10 = 0;\n            do {\n              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n              if (iVar18 == 0) break;\n              sVar30 = pIVar5->columns;\n              sVar8 = 0;\n              if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }\n              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n              if (iVar18 == 0) break;\n              sVar8 = pIVar5->rows;\n              if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }\n              uVar12 = uVar10 + 1;\n              iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n              uVar10 = uVar12;\n            } while ((int)uVar12 < (int)sVar8);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar11 == 1) {\n            if (0 < (int)local_17c) {\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }\n            if (2 < uVar42) {\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);\n            if (iVar13 == 0) goto LAB_002a725c;\n            if (uVar11 == 1) {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }\n            else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }\n            puVar21 = PTR_s_t_to_left_003a88e4;\n            if (PVar9 == UndefinedPixelTrait) {\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }\n            else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }\nLAB_002a5fb4:\n            if (uVar11 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }\n            sVar8 = pIVar5->rows;\nLAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        pbVar14 = unaff_s8;\n        if (iVar6 != 0) {\n          puVar27 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar40 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar27);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,pIVar5->filename,\n                     uVar40);\n          (*(code *)PTR_DestroyString_003a9074)(uVar40);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((image_info->number_scenes != 0) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);\n        if ((iVar6 == 0) || (magick._0_2_ != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(image_info,pIVar5,exception);\n        iVar6 = (*(code *)PTR_GetNextImageInList_003a9470)(pIVar5);\n        if (iVar6 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          goto LAB_002a57d0;\n        }\n        pIVar5 = (Image *)(*(code *)PTR_SyncNextImageInList_003a9408)(pIVar5);\n        uVar52 = (*(code *)PTR_TellBlob_003a931c)(pIVar5);\n        uVar53 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (pIVar5,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar52 >> 0x20),\n                           (int)uVar52,uVar53);\n        if (iVar6 == 0) goto LAB_002a74b0;\n      } while (magick._0_2_ == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\nLAB_002a56b8:\n      pIVar5 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(pIVar5);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);\n      pIVar45 = pIVar5;\n      if (pIVar5 != (Image *)0x0) goto LAB_002a5728;\n    }" if (parenthesized_expression "((iVar6 == 2) && (magick._0_2_ == 0x52cc))" ( (binary_expression "(iVar6 == 2) && (magick._0_2_ == 0x52cc)" (parenthesized_expression "(iVar6 == 2)" ( (binary_expression "iVar6 == 2" identifier == number_literal) )) && (parenthesized_expression "(magick._0_2_ == 0x52cc)" ( (binary_expression "magick._0_2_ == 0x52cc" (field_expression "magick._0_2_" identifier . field_identifier) == number_literal) ))) )) (compound_statement "{\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar48 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar49 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        sVar7 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).x = sVar7;\n        sVar7 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).y = sVar7;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        pIVar5->columns = sVar8;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobByte_003a97f0;\n        pIVar5->rows = sVar8;\n        PVar9 = (*(code *)puVar21)(pIVar5);\n        pIVar5->alpha_trait = PVar9 & BlendPixelTrait;\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        local_18c = exception;\n        local_188 = image_info;\n        if (0x15 < (uVar12 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xee;\nLAB_002a6770:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -400;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar13 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar13 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar29 = 1 << (uVar12 & 0x1f);\n        if (((uVar10 & 0xfffffffd) == 0) ||\n           ((((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||\n            (iVar6 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar10) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < pIVar5->columns - 1) || (0x7ffe < pIVar5->rows - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((PVar9 & UpdatePixelTrait) == UndefinedPixelTrait) {\n          pbVar14 = background_color;\n          do {\n            pbVar17 = pbVar14 + 1;\n            bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n            *pbVar14 = bVar28;\n            pbVar14 = pbVar17;\n          } while (background_color + uVar10 != pbVar17);\n        }\n        else {\n          pbVar14 = background_color;\n          do {\n            *pbVar14 = 0;\n            pbVar14 = pbVar14 + 1;\n          } while (pbVar14 != background_color + uVar10);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        if ((uVar10 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar42 = uVar10;\n        if (pIVar5->alpha_trait != UndefinedPixelTrait) {\n          uVar42 = uVar10 + 1;\n        }\n        uVar1 = (ulonglong)pIVar5->columns * (ulonglong)pIVar5->rows;\n        lVar51 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (lVar51 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x116;\nLAB_002a6a54:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar51 = (ulonglong)uVar42 * (uVar1 & 0xffffffff);\n        uVar43 = uVar42 * local_180 + (int)((ulonglong)lVar51 >> 0x20);\n        uVar52 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        uVar52 = (*(code *)PTR___udivdi3_003a89c0)\n                           (uVar43 & 0x1fffffff,(int)lVar51,(int)((ulonglong)uVar52 >> 0x20),\n                            (int)uVar52);\n        if (((int)((ulonglong)uVar52 >> 0x20) != 0) || (0xfe < (uint)uVar52)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (uVar2 < (ulonglong)uVar11 * (ulonglong)uVar29) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar11 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar11,3 << (uVar12 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar11 << (uVar12 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar11 < 1) {\n            uVar10 = 0;\n          }\n          else {\n            dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar15 = 0;\n            do {\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            } while (uVar11 != uVar15);\n          }\n        }\n        pbVar14 = unaff_s8;\n        if (((PVar9 & 8) != UndefinedPixelTrait) &&\n           (uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5), uVar15 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar13 = uVar15 - 1;\n          iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,iVar13,unaff_s8);\n          puVar21 = PTR_SetImageProperty_003a9534;\n          if (iVar13 != iVar6) goto LAB_002a7380;\n          puVar35 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar13] = 0;\n          (*(code *)puVar21)(pIVar5,puVar35,unaff_s8,exception);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar14 = unaff_s8;\n          if ((uVar15 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          }\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        unaff_s8 = pbVar14;\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene)) break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (pIVar5,pIVar5->columns,pIVar5->rows,exception);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar16 = uVar42 + 1;\n        local_17c = (uint)uVar1;\n        uVar15 = uVar42;\n        if ((uVar42 & 1) != 0) {\n          uVar43 = uVar16 * local_180 + (int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar15 = uVar16;\n        }\n        if (uVar43 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar43 = 4;\n        if (3 < uVar15) {\n          uVar43 = uVar15;\n        }\n        iVar6 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(pIVar5->columns,uVar43 * pIVar5->rows);\n        if (iVar6 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar40 = 0x165;\n          goto LAB_002a705c;\n        }\n        sVar30 = pIVar5->rows;\n        sVar8 = pIVar5->columns;\n        pbVar17 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar6);\n        (*(code *)PTR_memset_003a96d4)(pbVar17,0,sVar8 * sVar30 * uVar43);\n        if ((PVar9 & (UpdatePixelTrait|CopyPixelTrait)) == CopyPixelTrait) {\n          uVar43 = 0;\n          if ((int)local_17c < 1) {\n            uVar10 = 0;\n          }\n          else {\n            pbVar23 = pbVar17;\n            do {\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            } while (local_17c != uVar43);\n          }\n        }\n        uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar43 == 0xffffffff) {\n          if (uVar11 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n          uVar40 = 0x18b;\nLAB_002a5df4:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -0x17c;\n          uVar22 = 0x1a9;\n          unaff_s8 = pbVar14;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar43 = uVar43 & 0x3f;\n        do {\n          if (uVar43 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))();\n            return pIVar5;\n          }\n          uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar43 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x1fb;\n            pbVar14 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar43 = uVar43 & 0x3f;\n        } while (uVar43 != 7);\n        if (uVar11 == 0) {\n          if (uVar42 < 3) {\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception);\n            if (iVar13 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x246;\nLAB_002a705c:\n            pcVar19 = image_info->filename;\n            puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar21 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar22 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)pIVar5->rows) {\nLAB_002a5be0:\n            iVar13 = 0;\n            dVar50 = *(double *)(puVar20 + -0x5af0);\n            puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar10 = 0;\n            do {\n              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n              if (iVar18 == 0) break;\n              sVar30 = pIVar5->columns;\n              sVar8 = 0;\n              if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }\n              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n              if (iVar18 == 0) break;\n              sVar8 = pIVar5->rows;\n              if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }\n              uVar12 = uVar10 + 1;\n              iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n              uVar10 = uVar12;\n            } while ((int)uVar12 < (int)sVar8);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar11 == 1) {\n            if (0 < (int)local_17c) {\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }\n            if (2 < uVar42) {\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);\n            if (iVar13 == 0) goto LAB_002a725c;\n            if (uVar11 == 1) {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }\n            else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }\n            puVar21 = PTR_s_t_to_left_003a88e4;\n            if (PVar9 == UndefinedPixelTrait) {\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }\n            else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }\nLAB_002a5fb4:\n            if (uVar11 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }\n            sVar8 = pIVar5->rows;\nLAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        pbVar14 = unaff_s8;\n        if (iVar6 != 0) {\n          puVar27 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar40 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar27);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,pIVar5->filename,\n                     uVar40);\n          (*(code *)PTR_DestroyString_003a9074)(uVar40);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((image_info->number_scenes != 0) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);\n        if ((iVar6 == 0) || (magick._0_2_ != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(image_info,pIVar5,exception);\n        iVar6 = (*(code *)PTR_GetNextImageInList_003a9470)(pIVar5);\n        if (iVar6 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          goto LAB_002a57d0;\n        }\n        pIVar5 = (Image *)(*(code *)PTR_SyncNextImageInList_003a9408)(pIVar5);\n        uVar52 = (*(code *)PTR_TellBlob_003a931c)(pIVar5);\n        uVar53 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (pIVar5,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar52 >> 0x20),\n                           (int)uVar52,uVar53);\n        if (iVar6 == 0) goto LAB_002a74b0;\n      } while (magick._0_2_ == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\nLAB_002a56b8:\n      pIVar5 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(pIVar5);\n    }" { (expression_statement "local_178 = (byte *)0x0;" (assignment_expression "local_178 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_1a0 = (byte *)0x0;" (assignment_expression "local_1a0 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "dVar48 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);" (assignment_expression "dVar48 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" identifier = (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "dVar49 = *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar49 = *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) ))))) ;) (do_statement "do {\n        sVar7 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).x = sVar7;\n        sVar7 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).y = sVar7;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        pIVar5->columns = sVar8;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobByte_003a97f0;\n        pIVar5->rows = sVar8;\n        PVar9 = (*(code *)puVar21)(pIVar5);\n        pIVar5->alpha_trait = PVar9 & BlendPixelTrait;\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        local_18c = exception;\n        local_188 = image_info;\n        if (0x15 < (uVar12 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xee;\nLAB_002a6770:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -400;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar13 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar13 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar29 = 1 << (uVar12 & 0x1f);\n        if (((uVar10 & 0xfffffffd) == 0) ||\n           ((((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||\n            (iVar6 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar10) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < pIVar5->columns - 1) || (0x7ffe < pIVar5->rows - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((PVar9 & UpdatePixelTrait) == UndefinedPixelTrait) {\n          pbVar14 = background_color;\n          do {\n            pbVar17 = pbVar14 + 1;\n            bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n            *pbVar14 = bVar28;\n            pbVar14 = pbVar17;\n          } while (background_color + uVar10 != pbVar17);\n        }\n        else {\n          pbVar14 = background_color;\n          do {\n            *pbVar14 = 0;\n            pbVar14 = pbVar14 + 1;\n          } while (pbVar14 != background_color + uVar10);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        if ((uVar10 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar42 = uVar10;\n        if (pIVar5->alpha_trait != UndefinedPixelTrait) {\n          uVar42 = uVar10 + 1;\n        }\n        uVar1 = (ulonglong)pIVar5->columns * (ulonglong)pIVar5->rows;\n        lVar51 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (lVar51 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x116;\nLAB_002a6a54:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar51 = (ulonglong)uVar42 * (uVar1 & 0xffffffff);\n        uVar43 = uVar42 * local_180 + (int)((ulonglong)lVar51 >> 0x20);\n        uVar52 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        uVar52 = (*(code *)PTR___udivdi3_003a89c0)\n                           (uVar43 & 0x1fffffff,(int)lVar51,(int)((ulonglong)uVar52 >> 0x20),\n                            (int)uVar52);\n        if (((int)((ulonglong)uVar52 >> 0x20) != 0) || (0xfe < (uint)uVar52)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (uVar2 < (ulonglong)uVar11 * (ulonglong)uVar29) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar11 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar11,3 << (uVar12 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar11 << (uVar12 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar11 < 1) {\n            uVar10 = 0;\n          }\n          else {\n            dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar15 = 0;\n            do {\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            } while (uVar11 != uVar15);\n          }\n        }\n        pbVar14 = unaff_s8;\n        if (((PVar9 & 8) != UndefinedPixelTrait) &&\n           (uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5), uVar15 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar13 = uVar15 - 1;\n          iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,iVar13,unaff_s8);\n          puVar21 = PTR_SetImageProperty_003a9534;\n          if (iVar13 != iVar6) goto LAB_002a7380;\n          puVar35 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar13] = 0;\n          (*(code *)puVar21)(pIVar5,puVar35,unaff_s8,exception);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar14 = unaff_s8;\n          if ((uVar15 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          }\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        unaff_s8 = pbVar14;\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene)) break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (pIVar5,pIVar5->columns,pIVar5->rows,exception);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar16 = uVar42 + 1;\n        local_17c = (uint)uVar1;\n        uVar15 = uVar42;\n        if ((uVar42 & 1) != 0) {\n          uVar43 = uVar16 * local_180 + (int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar15 = uVar16;\n        }\n        if (uVar43 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar43 = 4;\n        if (3 < uVar15) {\n          uVar43 = uVar15;\n        }\n        iVar6 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(pIVar5->columns,uVar43 * pIVar5->rows);\n        if (iVar6 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar40 = 0x165;\n          goto LAB_002a705c;\n        }\n        sVar30 = pIVar5->rows;\n        sVar8 = pIVar5->columns;\n        pbVar17 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar6);\n        (*(code *)PTR_memset_003a96d4)(pbVar17,0,sVar8 * sVar30 * uVar43);\n        if ((PVar9 & (UpdatePixelTrait|CopyPixelTrait)) == CopyPixelTrait) {\n          uVar43 = 0;\n          if ((int)local_17c < 1) {\n            uVar10 = 0;\n          }\n          else {\n            pbVar23 = pbVar17;\n            do {\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            } while (local_17c != uVar43);\n          }\n        }\n        uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar43 == 0xffffffff) {\n          if (uVar11 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n          uVar40 = 0x18b;\nLAB_002a5df4:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -0x17c;\n          uVar22 = 0x1a9;\n          unaff_s8 = pbVar14;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar43 = uVar43 & 0x3f;\n        do {\n          if (uVar43 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))();\n            return pIVar5;\n          }\n          uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar43 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x1fb;\n            pbVar14 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar43 = uVar43 & 0x3f;\n        } while (uVar43 != 7);\n        if (uVar11 == 0) {\n          if (uVar42 < 3) {\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception);\n            if (iVar13 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x246;\nLAB_002a705c:\n            pcVar19 = image_info->filename;\n            puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar21 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar22 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)pIVar5->rows) {\nLAB_002a5be0:\n            iVar13 = 0;\n            dVar50 = *(double *)(puVar20 + -0x5af0);\n            puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar10 = 0;\n            do {\n              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n              if (iVar18 == 0) break;\n              sVar30 = pIVar5->columns;\n              sVar8 = 0;\n              if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }\n              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n              if (iVar18 == 0) break;\n              sVar8 = pIVar5->rows;\n              if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }\n              uVar12 = uVar10 + 1;\n              iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n              uVar10 = uVar12;\n            } while ((int)uVar12 < (int)sVar8);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar11 == 1) {\n            if (0 < (int)local_17c) {\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }\n            if (2 < uVar42) {\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);\n            if (iVar13 == 0) goto LAB_002a725c;\n            if (uVar11 == 1) {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }\n            else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }\n            puVar21 = PTR_s_t_to_left_003a88e4;\n            if (PVar9 == UndefinedPixelTrait) {\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }\n            else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }\nLAB_002a5fb4:\n            if (uVar11 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }\n            sVar8 = pIVar5->rows;\nLAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        pbVar14 = unaff_s8;\n        if (iVar6 != 0) {\n          puVar27 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar40 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar27);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,pIVar5->filename,\n                     uVar40);\n          (*(code *)PTR_DestroyString_003a9074)(uVar40);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((image_info->number_scenes != 0) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);\n        if ((iVar6 == 0) || (magick._0_2_ != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(image_info,pIVar5,exception);\n        iVar6 = (*(code *)PTR_GetNextImageInList_003a9470)(pIVar5);\n        if (iVar6 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          goto LAB_002a57d0;\n        }\n        pIVar5 = (Image *)(*(code *)PTR_SyncNextImageInList_003a9408)(pIVar5);\n        uVar52 = (*(code *)PTR_TellBlob_003a931c)(pIVar5);\n        uVar53 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (pIVar5,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar52 >> 0x20),\n                           (int)uVar52,uVar53);\n        if (iVar6 == 0) goto LAB_002a74b0;\n      } while (magick._0_2_ == 0x52cc);" do (compound_statement "{\n        sVar7 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).x = sVar7;\n        sVar7 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        (pIVar5->page).y = sVar7;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobLSBShort_003a96fc;\n        pIVar5->columns = sVar8;\n        sVar8 = (*(code *)puVar21)(pIVar5);\n        puVar21 = PTR_ReadBlobByte_003a97f0;\n        pIVar5->rows = sVar8;\n        PVar9 = (*(code *)puVar21)(pIVar5);\n        pIVar5->alpha_trait = PVar9 & BlendPixelTrait;\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        local_18c = exception;\n        local_188 = image_info;\n        if (0x15 < (uVar12 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xee;\nLAB_002a6770:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -400;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar13 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar13 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar29 = 1 << (uVar12 & 0x1f);\n        if (((uVar10 & 0xfffffffd) == 0) ||\n           ((((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||\n            (iVar6 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar10) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < pIVar5->columns - 1) || (0x7ffe < pIVar5->rows - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((PVar9 & UpdatePixelTrait) == UndefinedPixelTrait) {\n          pbVar14 = background_color;\n          do {\n            pbVar17 = pbVar14 + 1;\n            bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n            *pbVar14 = bVar28;\n            pbVar14 = pbVar17;\n          } while (background_color + uVar10 != pbVar17);\n        }\n        else {\n          pbVar14 = background_color;\n          do {\n            *pbVar14 = 0;\n            pbVar14 = pbVar14 + 1;\n          } while (pbVar14 != background_color + uVar10);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        if ((uVar10 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar42 = uVar10;\n        if (pIVar5->alpha_trait != UndefinedPixelTrait) {\n          uVar42 = uVar10 + 1;\n        }\n        uVar1 = (ulonglong)pIVar5->columns * (ulonglong)pIVar5->rows;\n        lVar51 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (lVar51 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x116;\nLAB_002a6a54:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar51 = (ulonglong)uVar42 * (uVar1 & 0xffffffff);\n        uVar43 = uVar42 * local_180 + (int)((ulonglong)lVar51 >> 0x20);\n        uVar52 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        uVar52 = (*(code *)PTR___udivdi3_003a89c0)\n                           (uVar43 & 0x1fffffff,(int)lVar51,(int)((ulonglong)uVar52 >> 0x20),\n                            (int)uVar52);\n        if (((int)((ulonglong)uVar52 >> 0x20) != 0) || (0xfe < (uint)uVar52)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        if (uVar2 < (ulonglong)uVar11 * (ulonglong)uVar29) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar11 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar11,3 << (uVar12 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar11 << (uVar12 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar11 < 1) {\n            uVar10 = 0;\n          }\n          else {\n            dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar15 = 0;\n            do {\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            } while (uVar11 != uVar15);\n          }\n        }\n        pbVar14 = unaff_s8;\n        if (((PVar9 & 8) != UndefinedPixelTrait) &&\n           (uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5), uVar15 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar13 = uVar15 - 1;\n          iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,iVar13,unaff_s8);\n          puVar21 = PTR_SetImageProperty_003a9534;\n          if (iVar13 != iVar6) goto LAB_002a7380;\n          puVar35 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar13] = 0;\n          (*(code *)puVar21)(pIVar5,puVar35,unaff_s8,exception);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar14 = unaff_s8;\n          if ((uVar15 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          }\n        }\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        unaff_s8 = pbVar14;\n        if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene)) break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (pIVar5,pIVar5->columns,pIVar5->rows,exception);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar16 = uVar42 + 1;\n        local_17c = (uint)uVar1;\n        uVar15 = uVar42;\n        if ((uVar42 & 1) != 0) {\n          uVar43 = uVar16 * local_180 + (int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar15 = uVar16;\n        }\n        if (uVar43 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar43 = 4;\n        if (3 < uVar15) {\n          uVar43 = uVar15;\n        }\n        iVar6 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(pIVar5->columns,uVar43 * pIVar5->rows);\n        if (iVar6 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar40 = 0x165;\n          goto LAB_002a705c;\n        }\n        sVar30 = pIVar5->rows;\n        sVar8 = pIVar5->columns;\n        pbVar17 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar6);\n        (*(code *)PTR_memset_003a96d4)(pbVar17,0,sVar8 * sVar30 * uVar43);\n        if ((PVar9 & (UpdatePixelTrait|CopyPixelTrait)) == CopyPixelTrait) {\n          uVar43 = 0;\n          if ((int)local_17c < 1) {\n            uVar10 = 0;\n          }\n          else {\n            pbVar23 = pbVar17;\n            do {\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            } while (local_17c != uVar43);\n          }\n        }\n        uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar43 == 0xffffffff) {\n          if (uVar11 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n          uVar40 = 0x18b;\nLAB_002a5df4:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -0x17c;\n          uVar22 = 0x1a9;\n          unaff_s8 = pbVar14;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar43 = uVar43 & 0x3f;\n        do {\n          if (uVar43 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))();\n            return pIVar5;\n          }\n          uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar43 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x1fb;\n            pbVar14 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar43 = uVar43 & 0x3f;\n        } while (uVar43 != 7);\n        if (uVar11 == 0) {\n          if (uVar42 < 3) {\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception);\n            if (iVar13 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x246;\nLAB_002a705c:\n            pcVar19 = image_info->filename;\n            puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar21 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar22 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)pIVar5->rows) {\nLAB_002a5be0:\n            iVar13 = 0;\n            dVar50 = *(double *)(puVar20 + -0x5af0);\n            puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar10 = 0;\n            do {\n              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n              if (iVar18 == 0) break;\n              sVar30 = pIVar5->columns;\n              sVar8 = 0;\n              if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }\n              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n              if (iVar18 == 0) break;\n              sVar8 = pIVar5->rows;\n              if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }\n              uVar12 = uVar10 + 1;\n              iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n              uVar10 = uVar12;\n            } while ((int)uVar12 < (int)sVar8);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar11 == 1) {\n            if (0 < (int)local_17c) {\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }\n            if (2 < uVar42) {\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);\n            if (iVar13 == 0) goto LAB_002a725c;\n            if (uVar11 == 1) {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }\n            else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }\n            puVar21 = PTR_s_t_to_left_003a88e4;\n            if (PVar9 == UndefinedPixelTrait) {\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }\n            else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }\nLAB_002a5fb4:\n            if (uVar11 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }\n            sVar8 = pIVar5->rows;\nLAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n        iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);\n        pbVar14 = unaff_s8;\n        if (iVar6 != 0) {\n          puVar27 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar40 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar27);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,pIVar5->filename,\n                     uVar40);\n          (*(code *)PTR_DestroyString_003a9074)(uVar40);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((image_info->number_scenes != 0) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);\n        if ((iVar6 == 0) || (magick._0_2_ != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(image_info,pIVar5,exception);\n        iVar6 = (*(code *)PTR_GetNextImageInList_003a9470)(pIVar5);\n        if (iVar6 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          goto LAB_002a57d0;\n        }\n        pIVar5 = (Image *)(*(code *)PTR_SyncNextImageInList_003a9408)(pIVar5);\n        uVar52 = (*(code *)PTR_TellBlob_003a931c)(pIVar5);\n        uVar53 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);\n        iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (pIVar5,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar52 >> 0x20),\n                           (int)uVar52,uVar53);\n        if (iVar6 == 0) goto LAB_002a74b0;\n      }" { (expression_statement "sVar7 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);" (assignment_expression "sVar7 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5)" identifier = (call_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5)" (parenthesized_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)" ( (pointer_expression "*(code *)PTR_ReadBlobLSBShort_003a96fc" * (cast_expression "(code *)PTR_ReadBlobLSBShort_003a96fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (expression_statement "puVar21 = PTR_ReadBlobLSBShort_003a96fc;" (assignment_expression "puVar21 = PTR_ReadBlobLSBShort_003a96fc" identifier = identifier) ;) (expression_statement "(pIVar5->page).x = sVar7;" (assignment_expression "(pIVar5->page).x = sVar7" (field_expression "(pIVar5->page).x" (parenthesized_expression "(pIVar5->page)" ( (field_expression "pIVar5->page" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "sVar7 = (*(code *)puVar21)(pIVar5);" (assignment_expression "sVar7 = (*(code *)puVar21)(pIVar5)" identifier = (call_expression "(*(code *)puVar21)(pIVar5)" (parenthesized_expression "(*(code *)puVar21)" ( (pointer_expression "*(code *)puVar21" * (cast_expression "(code *)puVar21" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (expression_statement "puVar21 = PTR_ReadBlobLSBShort_003a96fc;" (assignment_expression "puVar21 = PTR_ReadBlobLSBShort_003a96fc" identifier = identifier) ;) (expression_statement "(pIVar5->page).y = sVar7;" (assignment_expression "(pIVar5->page).y = sVar7" (field_expression "(pIVar5->page).y" (parenthesized_expression "(pIVar5->page)" ( (field_expression "pIVar5->page" identifier -> field_identifier) )) . field_identifier) = identifier) ;) (expression_statement "sVar8 = (*(code *)puVar21)(pIVar5);" (assignment_expression "sVar8 = (*(code *)puVar21)(pIVar5)" identifier = (call_expression "(*(code *)puVar21)(pIVar5)" (parenthesized_expression "(*(code *)puVar21)" ( (pointer_expression "*(code *)puVar21" * (cast_expression "(code *)puVar21" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (expression_statement "puVar21 = PTR_ReadBlobLSBShort_003a96fc;" (assignment_expression "puVar21 = PTR_ReadBlobLSBShort_003a96fc" identifier = identifier) ;) (expression_statement "pIVar5->columns = sVar8;" (assignment_expression "pIVar5->columns = sVar8" (field_expression "pIVar5->columns" identifier -> field_identifier) = identifier) ;) (expression_statement "sVar8 = (*(code *)puVar21)(pIVar5);" (assignment_expression "sVar8 = (*(code *)puVar21)(pIVar5)" identifier = (call_expression "(*(code *)puVar21)(pIVar5)" (parenthesized_expression "(*(code *)puVar21)" ( (pointer_expression "*(code *)puVar21" * (cast_expression "(code *)puVar21" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (expression_statement "puVar21 = PTR_ReadBlobByte_003a97f0;" (assignment_expression "puVar21 = PTR_ReadBlobByte_003a97f0" identifier = identifier) ;) (expression_statement "pIVar5->rows = sVar8;" (assignment_expression "pIVar5->rows = sVar8" (field_expression "pIVar5->rows" identifier -> field_identifier) = identifier) ;) (expression_statement "PVar9 = (*(code *)puVar21)(pIVar5);" (assignment_expression "PVar9 = (*(code *)puVar21)(pIVar5)" identifier = (call_expression "(*(code *)puVar21)(pIVar5)" (parenthesized_expression "(*(code *)puVar21)" ( (pointer_expression "*(code *)puVar21" * (cast_expression "(code *)puVar21" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (expression_statement "pIVar5->alpha_trait = PVar9 & BlendPixelTrait;" (assignment_expression "pIVar5->alpha_trait = PVar9 & BlendPixelTrait" (field_expression "pIVar5->alpha_trait" identifier -> field_identifier) = (binary_expression "PVar9 & BlendPixelTrait" identifier & identifier)) ;) (expression_statement "uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);" (assignment_expression "uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" (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 "(pIVar5)" ( identifier )))) ;) (expression_statement "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" (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 "(pIVar5)" ( identifier )))) ;) (expression_statement "uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);" (assignment_expression "uVar11 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" (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 "(pIVar5)" ( identifier )))) ;) (expression_statement "uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);" (assignment_expression "uVar12 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" (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 "(pIVar5)" ( identifier )))) ;) (expression_statement "local_18c = exception;" (assignment_expression "local_18c = exception" identifier = identifier) ;) (expression_statement "local_188 = image_info;" (assignment_expression "local_188 = image_info" identifier = identifier) ;) (if_statement "if (0x15 < (uVar12 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xee;\nLAB_002a6770:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -400;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }" if (parenthesized_expression "(0x15 < (uVar12 & 0xff))" ( (binary_expression "0x15 < (uVar12 & 0xff)" number_literal < (parenthesized_expression "(uVar12 & 0xff)" ( (binary_expression "uVar12 & 0xff" identifier & number_literal) ))) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xee;\nLAB_002a6770:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -400;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar40 = 0xee;" (assignment_expression "uVar40 = 0xee" identifier = number_literal) ;) (labeled_statement "LAB_002a6770:\n          pcVar19 = image_info->filename;" statement_identifier : (expression_statement "pcVar19 = image_info->filename;" (assignment_expression "pcVar19 = image_info->filename" identifier = (field_expression "image_info->filename" identifier -> field_identifier)) ;)) (expression_statement "puVar20 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar20 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar21 = PTR_s_courses_003a88ec + -400;" (assignment_expression "puVar21 = PTR_s_courses_003a88ec + -400" identifier = (binary_expression "PTR_s_courses_003a88ec + -400" identifier + number_literal)) ;) (expression_statement "uVar22 = 0x1a9;" (assignment_expression "uVar22 = 0x1a9" identifier = number_literal) ;) (goto_statement "goto LAB_002a5e2c;" goto statement_identifier ;) })) (expression_statement "iVar13 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);" (assignment_expression "iVar13 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(pIVar5)" (parenthesized_expression "(*(code *)PTR_EOFBlob_003a9748)" ( (pointer_expression "*(code *)PTR_EOFBlob_003a9748" * (cast_expression "(code *)PTR_EOFBlob_003a9748" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (if_statement "if (iVar13 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0xf0;\n          goto LAB_002a6244;\n        }" if (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0xf0;\n          goto LAB_002a6244;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "pcVar19 = image_info->filename;" (assignment_expression "pcVar19 = image_info->filename" identifier = (field_expression "image_info->filename" identifier -> field_identifier)) ;) (expression_statement "uVar40 = 0xf0;" (assignment_expression "uVar40 = 0xf0" identifier = number_literal) ;) (goto_statement "goto LAB_002a6244;" goto statement_identifier ;) })) (expression_statement "uVar29 = 1 << (uVar12 & 0x1f);" (assignment_expression "uVar29 = 1 << (uVar12 & 0x1f)" identifier = (binary_expression "1 << (uVar12 & 0x1f)" number_literal << (parenthesized_expression "(uVar12 & 0x1f)" ( (binary_expression "uVar12 & 0x1f" identifier & number_literal) )))) ;) (if_statement "if (((uVar10 & 0xfffffffd) == 0) ||\n           ((((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||\n            (iVar6 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf5;\n          goto LAB_002a6770;\n        }" if (parenthesized_expression "(((uVar10 & 0xfffffffd) == 0) ||\n           ((((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||\n            (iVar6 != 8))))" ( (binary_expression "((uVar10 & 0xfffffffd) == 0) ||\n           ((((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||\n            (iVar6 != 8)))" (parenthesized_expression "((uVar10 & 0xfffffffd) == 0)" ( (binary_expression "(uVar10 & 0xfffffffd) == 0" (parenthesized_expression "(uVar10 & 0xfffffffd)" ( (binary_expression "uVar10 & 0xfffffffd" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "((((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||\n            (iVar6 != 8)))" ( (parenthesized_expression "(((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||\n            (iVar6 != 8))" ( (binary_expression "((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)) ||\n            (iVar6 != 8)" (parenthesized_expression "((PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3))" ( (binary_expression "(PVar9 & BlendPixelTrait) != UndefinedPixelTrait && (0xfb < uVar10 - 3)" (binary_expression "(PVar9 & BlendPixelTrait) != UndefinedPixelTrait" (parenthesized_expression "(PVar9 & BlendPixelTrait)" ( (binary_expression "PVar9 & BlendPixelTrait" identifier & identifier) )) != identifier) && (parenthesized_expression "(0xfb < uVar10 - 3)" ( (binary_expression "0xfb < uVar10 - 3" number_literal < (binary_expression "uVar10 - 3" identifier - number_literal)) ))) )) || (parenthesized_expression "(iVar6 != 8)" ( (binary_expression "iVar6 != 8" identifier != number_literal) ))) )) ))) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf5;\n          goto LAB_002a6770;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar40 = 0xf5;" (assignment_expression "uVar40 = 0xf5" identifier = number_literal) ;) (goto_statement "goto LAB_002a6770;" goto statement_identifier ;) })) (if_statement "if (4 < uVar10) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf7;\n          goto LAB_002a6770;\n        }" if (parenthesized_expression "(4 < uVar10)" ( (binary_expression "4 < uVar10" number_literal < identifier) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xf7;\n          goto LAB_002a6770;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar40 = 0xf7;" (assignment_expression "uVar40 = 0xf7" identifier = number_literal) ;) (goto_statement "goto LAB_002a6770;" goto statement_identifier ;) })) (if_statement "if ((0x7ffe < pIVar5->columns - 1) || (0x7ffe < pIVar5->rows - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xfa;\n          goto LAB_002a6770;\n        }" if (parenthesized_expression "((0x7ffe < pIVar5->columns - 1) || (0x7ffe < pIVar5->rows - 1))" ( (binary_expression "(0x7ffe < pIVar5->columns - 1) || (0x7ffe < pIVar5->rows - 1)" (parenthesized_expression "(0x7ffe < pIVar5->columns - 1)" ( (binary_expression "0x7ffe < pIVar5->columns - 1" number_literal < (binary_expression "pIVar5->columns - 1" (field_expression "pIVar5->columns" identifier -> field_identifier) - number_literal)) )) || (parenthesized_expression "(0x7ffe < pIVar5->rows - 1)" ( (binary_expression "0x7ffe < pIVar5->rows - 1" number_literal < (binary_expression "pIVar5->rows - 1" (field_expression "pIVar5->rows" identifier -> field_identifier) - number_literal)) ))) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0xfa;\n          goto LAB_002a6770;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar40 = 0xfa;" (assignment_expression "uVar40 = 0xfa" identifier = number_literal) ;) (goto_statement "goto LAB_002a6770;" goto statement_identifier ;) })) (if_statement "if ((PVar9 & UpdatePixelTrait) == UndefinedPixelTrait) {\n          pbVar14 = background_color;\n          do {\n            pbVar17 = pbVar14 + 1;\n            bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n            *pbVar14 = bVar28;\n            pbVar14 = pbVar17;\n          } while (background_color + uVar10 != pbVar17);\n        }\n        else {\n          pbVar14 = background_color;\n          do {\n            *pbVar14 = 0;\n            pbVar14 = pbVar14 + 1;\n          } while (pbVar14 != background_color + uVar10);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }" if (parenthesized_expression "((PVar9 & UpdatePixelTrait) == UndefinedPixelTrait)" ( (binary_expression "(PVar9 & UpdatePixelTrait) == UndefinedPixelTrait" (parenthesized_expression "(PVar9 & UpdatePixelTrait)" ( (binary_expression "PVar9 & UpdatePixelTrait" identifier & identifier) )) == identifier) )) (compound_statement "{\n          pbVar14 = background_color;\n          do {\n            pbVar17 = pbVar14 + 1;\n            bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n            *pbVar14 = bVar28;\n            pbVar14 = pbVar17;\n          } while (background_color + uVar10 != pbVar17);\n        }" { (expression_statement "pbVar14 = background_color;" (assignment_expression "pbVar14 = background_color" identifier = identifier) ;) (do_statement "do {\n            pbVar17 = pbVar14 + 1;\n            bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n            *pbVar14 = bVar28;\n            pbVar14 = pbVar17;\n          } while (background_color + uVar10 != pbVar17);" do (compound_statement "{\n            pbVar17 = pbVar14 + 1;\n            bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n            *pbVar14 = bVar28;\n            pbVar14 = pbVar17;\n          }" { (expression_statement "pbVar17 = pbVar14 + 1;" (assignment_expression "pbVar17 = pbVar14 + 1" identifier = (binary_expression "pbVar14 + 1" identifier + number_literal)) ;) (expression_statement "bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);" (assignment_expression "bVar28 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" (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 "(pIVar5)" ( identifier )))) ;) (expression_statement "*pbVar14 = bVar28;" (assignment_expression "*pbVar14 = bVar28" (pointer_expression "*pbVar14" * identifier) = identifier) ;) (expression_statement "pbVar14 = pbVar17;" (assignment_expression "pbVar14 = pbVar17" identifier = identifier) ;) }) while (parenthesized_expression "(background_color + uVar10 != pbVar17)" ( (binary_expression "background_color + uVar10 != pbVar17" (binary_expression "background_color + uVar10" identifier + identifier) != identifier) )) ;) }) (else_clause "else {\n          pbVar14 = background_color;\n          do {\n            *pbVar14 = 0;\n            pbVar14 = pbVar14 + 1;\n          } while (pbVar14 != background_color + uVar10);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }" else (compound_statement "{\n          pbVar14 = background_color;\n          do {\n            *pbVar14 = 0;\n            pbVar14 = pbVar14 + 1;\n          } while (pbVar14 != background_color + uVar10);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }" { (expression_statement "pbVar14 = background_color;" (assignment_expression "pbVar14 = background_color" identifier = identifier) ;) (do_statement "do {\n            *pbVar14 = 0;\n            pbVar14 = pbVar14 + 1;\n          } while (pbVar14 != background_color + uVar10);" do (compound_statement "{\n            *pbVar14 = 0;\n            pbVar14 = pbVar14 + 1;\n          }" { (expression_statement "*pbVar14 = 0;" (assignment_expression "*pbVar14 = 0" (pointer_expression "*pbVar14" * identifier) = number_literal) ;) (expression_statement "pbVar14 = pbVar14 + 1;" (assignment_expression "pbVar14 = pbVar14 + 1" identifier = (binary_expression "pbVar14 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar14 != background_color + uVar10)" ( (binary_expression "pbVar14 != background_color + uVar10" identifier != (binary_expression "background_color + uVar10" identifier + identifier)) )) ;) (expression_statement "(*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);" (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" (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 "(pIVar5)" ( identifier ))) ;) }))) (if_statement "if ((uVar10 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\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          (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n        }" { (expression_statement "(*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);" (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" (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 "(pIVar5)" ( identifier ))) ;) })) (expression_statement "iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);" (assignment_expression "iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(pIVar5)" (parenthesized_expression "(*(code *)PTR_EOFBlob_003a9748)" ( (pointer_expression "*(code *)PTR_EOFBlob_003a9748" * (cast_expression "(code *)PTR_EOFBlob_003a9748" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (if_statement "if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x110;\n          goto LAB_002a6244;\n        }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x110;\n          goto LAB_002a6244;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "pcVar19 = image_info->filename;" (assignment_expression "pcVar19 = image_info->filename" identifier = (field_expression "image_info->filename" identifier -> field_identifier)) ;) (expression_statement "uVar40 = 0x110;" (assignment_expression "uVar40 = 0x110" identifier = number_literal) ;) (goto_statement "goto LAB_002a6244;" goto statement_identifier ;) })) (expression_statement "uVar42 = uVar10;" (assignment_expression "uVar42 = uVar10" identifier = identifier) ;) (if_statement "if (pIVar5->alpha_trait != UndefinedPixelTrait) {\n          uVar42 = uVar10 + 1;\n        }" if (parenthesized_expression "(pIVar5->alpha_trait != UndefinedPixelTrait)" ( (binary_expression "pIVar5->alpha_trait != UndefinedPixelTrait" (field_expression "pIVar5->alpha_trait" identifier -> field_identifier) != identifier) )) (compound_statement "{\n          uVar42 = uVar10 + 1;\n        }" { (expression_statement "uVar42 = uVar10 + 1;" (assignment_expression "uVar42 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar1 = (ulonglong)pIVar5->columns * (ulonglong)pIVar5->rows;" (assignment_expression "uVar1 = (ulonglong)pIVar5->columns * (ulonglong)pIVar5->rows" identifier = (binary_expression "(ulonglong)pIVar5->columns * (ulonglong)pIVar5->rows" (cast_expression "(ulonglong)pIVar5->columns" ( (type_descriptor "ulonglong" type_identifier) ) (field_expression "pIVar5->columns" identifier -> field_identifier)) * (cast_expression "(ulonglong)pIVar5->rows" ( (type_descriptor "ulonglong" type_identifier) ) (field_expression "pIVar5->rows" identifier -> field_identifier)))) ;) (expression_statement "lVar51 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);" (assignment_expression "lVar51 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(pIVar5)" (parenthesized_expression "(*(code *)PTR_GetBlobSize_003a94b8)" ( (pointer_expression "*(code *)PTR_GetBlobSize_003a94b8" * (cast_expression "(code *)PTR_GetBlobSize_003a94b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (if_statement "if (lVar51 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x116;\nLAB_002a6a54:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }" if (parenthesized_expression "(lVar51 == 0)" ( (binary_expression "lVar51 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x116;\nLAB_002a6a54:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar22 = 0x1a9;\n          goto LAB_002a5e2c;\n        }" { (labeled_statement "LAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" statement_identifier : (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (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 "(local_178)" ( identifier ))) ;) }))) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar40 = 0x116;" (assignment_expression "uVar40 = 0x116" identifier = number_literal) ;) (labeled_statement "LAB_002a6a54:\n          pcVar19 = image_info->filename;" statement_identifier : (expression_statement "pcVar19 = image_info->filename;" (assignment_expression "pcVar19 = image_info->filename" identifier = (field_expression "image_info->filename" identifier -> field_identifier)) ;)) (expression_statement "puVar20 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar20 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar21 = PTR_s_courses_003a88ec + 0x4a0;" (assignment_expression "puVar21 = PTR_s_courses_003a88ec + 0x4a0" identifier = (binary_expression "PTR_s_courses_003a88ec + 0x4a0" identifier + number_literal)) ;) (expression_statement "uVar22 = 0x1a9;" (assignment_expression "uVar22 = 0x1a9" identifier = number_literal) ;) (goto_statement "goto LAB_002a5e2c;" goto statement_identifier ;) })) (expression_statement "local_180 = (int)(uVar1 >> 0x20);" (assignment_expression "local_180 = (int)(uVar1 >> 0x20)" identifier = (cast_expression "(int)(uVar1 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar1 >> 0x20)" ( (binary_expression "uVar1 >> 0x20" identifier >> number_literal) )))) ;) (expression_statement "lVar51 = (ulonglong)uVar42 * (uVar1 & 0xffffffff);" (assignment_expression "lVar51 = (ulonglong)uVar42 * (uVar1 & 0xffffffff)" identifier = (binary_expression "(ulonglong)uVar42 * (uVar1 & 0xffffffff)" (cast_expression "(ulonglong)uVar42" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (parenthesized_expression "(uVar1 & 0xffffffff)" ( (binary_expression "uVar1 & 0xffffffff" identifier & number_literal) )))) ;) (expression_statement "uVar43 = uVar42 * local_180 + (int)((ulonglong)lVar51 >> 0x20);" (assignment_expression "uVar43 = uVar42 * local_180 + (int)((ulonglong)lVar51 >> 0x20)" identifier = (binary_expression "uVar42 * local_180 + (int)((ulonglong)lVar51 >> 0x20)" (binary_expression "uVar42 * local_180" identifier * identifier) + (cast_expression "(int)((ulonglong)lVar51 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar51 >> 0x20)" ( (binary_expression "(ulonglong)lVar51 >> 0x20" (cast_expression "(ulonglong)lVar51" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))))) ;) (expression_statement "uVar52 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);" (assignment_expression "uVar52 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(pIVar5)" (parenthesized_expression "(*(code *)PTR_GetBlobSize_003a94b8)" ( (pointer_expression "*(code *)PTR_GetBlobSize_003a94b8" * (cast_expression "(code *)PTR_GetBlobSize_003a94b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (expression_statement "uVar52 = (*(code *)PTR___udivdi3_003a89c0)\n                           (uVar43 & 0x1fffffff,(int)lVar51,(int)((ulonglong)uVar52 >> 0x20),\n                            (int)uVar52);" (assignment_expression "uVar52 = (*(code *)PTR___udivdi3_003a89c0)\n                           (uVar43 & 0x1fffffff,(int)lVar51,(int)((ulonglong)uVar52 >> 0x20),\n                            (int)uVar52)" identifier = (call_expression "(*(code *)PTR___udivdi3_003a89c0)\n                           (uVar43 & 0x1fffffff,(int)lVar51,(int)((ulonglong)uVar52 >> 0x20),\n                            (int)uVar52)" (parenthesized_expression "(*(code *)PTR___udivdi3_003a89c0)" ( (pointer_expression "*(code *)PTR___udivdi3_003a89c0" * (cast_expression "(code *)PTR___udivdi3_003a89c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar43 & 0x1fffffff,(int)lVar51,(int)((ulonglong)uVar52 >> 0x20),\n                            (int)uVar52)" ( (binary_expression "uVar43 & 0x1fffffff" identifier & number_literal) , (cast_expression "(int)lVar51" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(int)((ulonglong)uVar52 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar52 >> 0x20)" ( (binary_expression "(ulonglong)uVar52 >> 0x20" (cast_expression "(ulonglong)uVar52" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) , (cast_expression "(int)uVar52" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (if_statement "if (((int)((ulonglong)uVar52 >> 0x20) != 0) || (0xfe < (uint)uVar52)) goto LAB_002a6a10;" if (parenthesized_expression "(((int)((ulonglong)uVar52 >> 0x20) != 0) || (0xfe < (uint)uVar52))" ( (binary_expression "((int)((ulonglong)uVar52 >> 0x20) != 0) || (0xfe < (uint)uVar52)" (parenthesized_expression "((int)((ulonglong)uVar52 >> 0x20) != 0)" ( (binary_expression "(int)((ulonglong)uVar52 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar52 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar52 >> 0x20)" ( (binary_expression "(ulonglong)uVar52 >> 0x20" (cast_expression "(ulonglong)uVar52" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) != number_literal) )) || (parenthesized_expression "(0xfe < (uint)uVar52)" ( (binary_expression "0xfe < (uint)uVar52" number_literal < (cast_expression "(uint)uVar52" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) (goto_statement "goto LAB_002a6a10;" goto statement_identifier ;)) (expression_statement "uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);" (assignment_expression "uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(pIVar5)" (parenthesized_expression "(*(code *)PTR_GetBlobSize_003a94b8)" ( (pointer_expression "*(code *)PTR_GetBlobSize_003a94b8" * (cast_expression "(code *)PTR_GetBlobSize_003a94b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (if_statement "if (uVar2 < (ulonglong)uVar11 * (ulonglong)uVar29) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x118;\n          goto LAB_002a6a54;\n        }" if (parenthesized_expression "(uVar2 < (ulonglong)uVar11 * (ulonglong)uVar29)" ( (binary_expression "uVar2 < (ulonglong)uVar11 * (ulonglong)uVar29" identifier < (binary_expression "(ulonglong)uVar11 * (ulonglong)uVar29" (cast_expression "(ulonglong)uVar11" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)uVar29" ( (type_descriptor "ulonglong" type_identifier) ) identifier))) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x118;\n          goto LAB_002a6a54;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar40 = 0x118;" (assignment_expression "uVar40 = 0x118" identifier = number_literal) ;) (goto_statement "goto LAB_002a6a54;" goto statement_identifier ;) })) (if_statement "if (uVar11 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar11,3 << (uVar12 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar11 << (uVar12 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar11 < 1) {\n            uVar10 = 0;\n          }\n          else {\n            dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar15 = 0;\n            do {\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            } while (uVar11 != uVar15);\n          }\n        }" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (compound_statement "{\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar11,3 << (uVar12 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar11 << (uVar12 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar11 < 1) {\n            uVar10 = 0;\n          }\n          else {\n            dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar15 = 0;\n            do {\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            } while (uVar11 != uVar15);\n          }\n        }" { (expression_statement "local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar11,3 << (uVar12 & 0x1f));" (assignment_expression "local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar11,3 << (uVar12 & 0x1f))" identifier = (cast_expression "(byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar11,3 << (uVar12 & 0x1f))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar11,3 << (uVar12 & 0x1f))" (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,3 << (uVar12 & 0x1f))" ( identifier , (binary_expression "3 << (uVar12 & 0x1f)" number_literal << (parenthesized_expression "(uVar12 & 0x1f)" ( (binary_expression "uVar12 & 0x1f" identifier & number_literal) ))) ))))) ;) (if_statement "if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x121;\n            goto LAB_002a705c;\n          }" if (parenthesized_expression "(local_178 == (byte *)0x0)" ( (binary_expression "local_178 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x121;\n            goto LAB_002a705c;\n          }" { (if_statement "if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar40 = 0x121;" (assignment_expression "uVar40 = 0x121" identifier = number_literal) ;) (goto_statement "goto LAB_002a705c;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_memset_003a96d4)(local_178,0,(uVar11 << (uVar12 & 0x1f)) * 3);" (call_expression "(*(code *)PTR_memset_003a96d4)(local_178,0,(uVar11 << (uVar12 & 0x1f)) * 3)" (parenthesized_expression "(*(code *)PTR_memset_003a96d4)" ( (pointer_expression "*(code *)PTR_memset_003a96d4" * (cast_expression "(code *)PTR_memset_003a96d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_178,0,(uVar11 << (uVar12 & 0x1f)) * 3)" ( identifier , number_literal , (binary_expression "(uVar11 << (uVar12 & 0x1f)) * 3" (parenthesized_expression "(uVar11 << (uVar12 & 0x1f))" ( (binary_expression "uVar11 << (uVar12 & 0x1f)" identifier << (parenthesized_expression "(uVar12 & 0x1f)" ( (binary_expression "uVar12 & 0x1f" identifier & number_literal) ))) )) * number_literal) ))) ;) (expression_statement "unaff_s8 = local_178;" (assignment_expression "unaff_s8 = local_178" identifier = identifier) ;) (if_statement "if ((int)uVar11 < 1) {\n            uVar10 = 0;\n          }\n          else {\n            dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar15 = 0;\n            do {\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            } while (uVar11 != uVar15);\n          }" if (parenthesized_expression "((int)uVar11 < 1)" ( (binary_expression "(int)uVar11 < 1" (cast_expression "(int)uVar11" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            uVar10 = 0;\n          }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar15 = 0;\n            do {\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            } while (uVar11 != uVar15);\n          }" else (compound_statement "{\n            dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar15 = 0;\n            do {\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            } while (uVar11 != uVar15);\n          }" { (expression_statement "dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);" (assignment_expression "dVar50 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" identifier = (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8" identifier + number_literal) ))))) ;) (expression_statement "uVar15 = 0;" (assignment_expression "uVar15 = 0" identifier = number_literal) ;) (do_statement "do {\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            } while (uVar11 != uVar15);" do (compound_statement "{\n              pbVar17 = unaff_s8 + uVar29;\n              dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar14 = unaff_s8;\n              do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);\n              uVar15 = uVar15 + 1;\n              uVar10 = uVar11;\n            }" { (expression_statement "pbVar17 = unaff_s8 + uVar29;" (assignment_expression "pbVar17 = unaff_s8 + uVar29" identifier = (binary_expression "unaff_s8 + uVar29" identifier + identifier)) ;) (expression_statement "dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410);" (assignment_expression "dVar47 = *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ;) (expression_statement "pbVar14 = unaff_s8;" (assignment_expression "pbVar14 = unaff_s8" identifier = identifier) ;) (do_statement "do {\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              } while (pbVar17 != unaff_s8);" do (compound_statement "{\n                unaff_s8 = pbVar14 + 1;\n                iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);\n                puVar21 = PTR_EOFBlob_003a9748;\n                if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }\n                *pbVar14 = bVar28;\n                iVar6 = (*(code *)puVar21)(pIVar5);\n                if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar14 = unaff_s8;\n              }" { (expression_statement "unaff_s8 = pbVar14 + 1;" (assignment_expression "unaff_s8 = pbVar14 + 1" identifier = (binary_expression "pbVar14 + 1" identifier + number_literal)) ;) (expression_statement "iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5)" identifier = (call_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5)" (parenthesized_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)" ( (pointer_expression "*(code *)PTR_ReadBlobLSBShort_003a96fc" * (cast_expression "(code *)PTR_ReadBlobLSBShort_003a96fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (expression_statement "puVar21 = PTR_EOFBlob_003a9748;" (assignment_expression "puVar21 = PTR_EOFBlob_003a9748" identifier = identifier) ;) (if_statement "if ((float)iVar6 <= 0.0) {\n                  bVar28 = 0;\n                }\n                else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }" if (parenthesized_expression "((float)iVar6 <= 0.0)" ( (binary_expression "(float)iVar6 <= 0.0" (cast_expression "(float)iVar6" ( (type_descriptor "float" primitive_type) ) identifier) <= number_literal) )) (compound_statement "{\n                  bVar28 = 0;\n                }" { (expression_statement "bVar28 = 0;" (assignment_expression "bVar28 = 0" identifier = number_literal) ;) }) (else_clause "else if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }" else (if_statement "if ((double)iVar6 / dVar48 < dVar50) {\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }\n                else {\n                  bVar28 = 0xff;\n                }" if (parenthesized_expression "((double)iVar6 / dVar48 < dVar50)" ( (binary_expression "(double)iVar6 / dVar48 < dVar50" (binary_expression "(double)iVar6 / dVar48" (cast_expression "(double)iVar6" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                  dVar46 = (double)iVar6 / dVar48 + dVar49;\n                  if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }\n                }" { (expression_statement "dVar46 = (double)iVar6 / dVar48 + dVar49;" (assignment_expression "dVar46 = (double)iVar6 / dVar48 + dVar49" identifier = (binary_expression "(double)iVar6 / dVar48 + dVar49" (binary_expression "(double)iVar6 / dVar48" (cast_expression "(double)iVar6" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier)) ;) (if_statement "if (dVar46 < dVar47) {\n                    bVar28 = (byte)(int)dVar46;\n                  }\n                  else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }" if (parenthesized_expression "(dVar46 < dVar47)" ( (binary_expression "dVar46 < dVar47" identifier < identifier) )) (compound_statement "{\n                    bVar28 = (byte)(int)dVar46;\n                  }" { (expression_statement "bVar28 = (byte)(int)dVar46;" (assignment_expression "bVar28 = (byte)(int)dVar46" identifier = (cast_expression "(byte)(int)dVar46" ( (type_descriptor "byte" type_identifier) ) (cast_expression "(int)dVar46" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }" else (compound_statement "{\n                    bVar28 = (byte)(int)(dVar46 - dVar47);\n                  }" { (expression_statement "bVar28 = (byte)(int)(dVar46 - dVar47);" (assignment_expression "bVar28 = (byte)(int)(dVar46 - dVar47)" identifier = (call_expression "(byte)(int)(dVar46 - dVar47)" (call_expression "(byte)(int)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "(dVar46 - dVar47)" ( (binary_expression "dVar46 - dVar47" identifier - identifier) )))) ;) }))) }) (else_clause "else {\n                  bVar28 = 0xff;\n                }" else (compound_statement "{\n                  bVar28 = 0xff;\n                }" { (expression_statement "bVar28 = 0xff;" (assignment_expression "bVar28 = 0xff" identifier = number_literal) ;) }))))) (expression_statement "*pbVar14 = bVar28;" (assignment_expression "*pbVar14 = bVar28" (pointer_expression "*pbVar14" * identifier) = identifier) ;) (expression_statement "iVar6 = (*(code *)puVar21)(pIVar5);" (assignment_expression "iVar6 = (*(code *)puVar21)(pIVar5)" identifier = (call_expression "(*(code *)puVar21)(pIVar5)" (parenthesized_expression "(*(code *)puVar21)" ( (pointer_expression "*(code *)puVar21" * (cast_expression "(code *)puVar21" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (if_statement "if (iVar6 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  pcVar19 = image_info->filename;\n                  uVar40 = 299;\n                  goto LAB_002a6244;\n                }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (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 "(local_178)" ( identifier ))) ;) (if_statement "if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "pcVar19 = image_info->filename;" (assignment_expression "pcVar19 = image_info->filename" identifier = (field_expression "image_info->filename" identifier -> field_identifier)) ;) (expression_statement "uVar40 = 299;" (assignment_expression "uVar40 = 299" identifier = number_literal) ;) (goto_statement "goto LAB_002a6244;" goto statement_identifier ;) })) (expression_statement "pbVar14 = unaff_s8;" (assignment_expression "pbVar14 = unaff_s8" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar17 != unaff_s8)" ( (binary_expression "pbVar17 != unaff_s8" identifier != identifier) )) ;) (expression_statement "uVar15 = uVar15 + 1;" (assignment_expression "uVar15 = uVar15 + 1" identifier = (binary_expression "uVar15 + 1" identifier + number_literal)) ;) (expression_statement "uVar10 = uVar11;" (assignment_expression "uVar10 = uVar11" identifier = identifier) ;) }) while (parenthesized_expression "(uVar11 != uVar15)" ( (binary_expression "uVar11 != uVar15" identifier != identifier) )) ;) }))) })) (expression_statement "pbVar14 = unaff_s8;" (assignment_expression "pbVar14 = unaff_s8" identifier = identifier) ;) (if_statement "if (((PVar9 & 8) != UndefinedPixelTrait) &&\n           (uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5), uVar15 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar13 = uVar15 - 1;\n          iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,iVar13,unaff_s8);\n          puVar21 = PTR_SetImageProperty_003a9534;\n          if (iVar13 != iVar6) goto LAB_002a7380;\n          puVar35 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar13] = 0;\n          (*(code *)puVar21)(pIVar5,puVar35,unaff_s8,exception);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar14 = unaff_s8;\n          if ((uVar15 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          }\n        }" if (parenthesized_expression "(((PVar9 & 8) != UndefinedPixelTrait) &&\n           (uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5), uVar15 != 0))" ( (binary_expression "((PVar9 & 8) != UndefinedPixelTrait) &&\n           (uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5), uVar15 != 0)" (parenthesized_expression "((PVar9 & 8) != UndefinedPixelTrait)" ( (binary_expression "(PVar9 & 8) != UndefinedPixelTrait" (parenthesized_expression "(PVar9 & 8)" ( (binary_expression "PVar9 & 8" identifier & number_literal) )) != identifier) )) && (parenthesized_expression "(uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5), uVar15 != 0)" ( (comma_expression "uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5), uVar15 != 0" (assignment_expression "uVar15 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5)" identifier = (call_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)(pIVar5)" (parenthesized_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)" ( (pointer_expression "*(code *)PTR_ReadBlobLSBShort_003a96fc" * (cast_expression "(code *)PTR_ReadBlobLSBShort_003a96fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) , (binary_expression "uVar15 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar13 = uVar15 - 1;\n          iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,iVar13,unaff_s8);\n          puVar21 = PTR_SetImageProperty_003a9534;\n          if (iVar13 != iVar6) goto LAB_002a7380;\n          puVar35 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar13] = 0;\n          (*(code *)puVar21)(pIVar5,puVar35,unaff_s8,exception);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar14 = unaff_s8;\n          if ((uVar15 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          }\n        }" { (expression_statement "unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,1);" (assignment_expression "unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,1)" identifier = (cast_expression "(byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar15,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 "(uVar15,1)" ( identifier , number_literal ))))) ;) (if_statement "if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x13e;\n            goto LAB_002a705c;\n          }" if (parenthesized_expression "(unaff_s8 == (byte *)0x0)" ( (binary_expression "unaff_s8 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar40 = 0x13e;\n            goto LAB_002a705c;\n          }" { (if_statement "if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar40 = 0x13e;" (assignment_expression "uVar40 = 0x13e" identifier = number_literal) ;) (goto_statement "goto LAB_002a705c;" goto statement_identifier ;) })) (expression_statement "iVar13 = uVar15 - 1;" (assignment_expression "iVar13 = uVar15 - 1" identifier = (binary_expression "uVar15 - 1" identifier - number_literal)) ;) (expression_statement "iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,iVar13,unaff_s8);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,iVar13,unaff_s8)" identifier = (call_expression "(*(code *)PTR_ReadBlob_003a8dac)(pIVar5,iVar13,unaff_s8)" (parenthesized_expression "(*(code *)PTR_ReadBlob_003a8dac)" ( (pointer_expression "*(code *)PTR_ReadBlob_003a8dac" * (cast_expression "(code *)PTR_ReadBlob_003a8dac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,iVar13,unaff_s8)" ( identifier , identifier , identifier )))) ;) (expression_statement "puVar21 = PTR_SetImageProperty_003a9534;" (assignment_expression "puVar21 = PTR_SetImageProperty_003a9534" identifier = identifier) ;) (if_statement "if (iVar13 != iVar6) goto LAB_002a7380;" if (parenthesized_expression "(iVar13 != iVar6)" ( (binary_expression "iVar13 != iVar6" identifier != identifier) )) (goto_statement "goto LAB_002a7380;" goto statement_identifier ;)) (expression_statement "puVar35 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;" (assignment_expression "puVar35 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928" identifier + number_literal)) ;) (expression_statement "unaff_s8[iVar13] = 0;" (assignment_expression "unaff_s8[iVar13] = 0" (subscript_expression "unaff_s8[iVar13]" identifier [ identifier ]) = number_literal) ;) (expression_statement "(*(code *)puVar21)(pIVar5,puVar35,unaff_s8,exception);" (call_expression "(*(code *)puVar21)(pIVar5,puVar35,unaff_s8,exception)" (parenthesized_expression "(*(code *)puVar21)" ( (pointer_expression "*(code *)puVar21" * (cast_expression "(code *)puVar21" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,puVar35,unaff_s8,exception)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(unaff_s8);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(unaff_s8)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s8)" ( identifier ))) ;) (expression_statement "pbVar14 = unaff_s8;" (assignment_expression "pbVar14 = unaff_s8" identifier = identifier) ;) (if_statement "if ((uVar15 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          }" if (parenthesized_expression "((uVar15 & 1) == 0)" ( (binary_expression "(uVar15 & 1) == 0" (parenthesized_expression "(uVar15 & 1)" ( (binary_expression "uVar15 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          }" { (expression_statement "(*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);" (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" (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 "(pIVar5)" ( identifier ))) ;) })) })) (expression_statement "iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);" (assignment_expression "iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(pIVar5)" (parenthesized_expression "(*(code *)PTR_EOFBlob_003a9748)" ( (pointer_expression "*(code *)PTR_EOFBlob_003a9748" * (cast_expression "(code *)PTR_EOFBlob_003a9748" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (expression_statement "unaff_s8 = pbVar14;" (assignment_expression "unaff_s8 = pbVar14" identifier = identifier) ;) (if_statement "if (iVar6 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x14d;\n          goto LAB_002a6244;\n        }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          pcVar19 = image_info->filename;\n          uVar40 = 0x14d;\n          goto LAB_002a6244;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "pcVar19 = image_info->filename;" (assignment_expression "pcVar19 = image_info->filename" identifier = (field_expression "image_info->filename" identifier -> field_identifier)) ;) (expression_statement "uVar40 = 0x14d;" (assignment_expression "uVar40 = 0x14d" identifier = number_literal) ;) (goto_statement "goto LAB_002a6244;" goto statement_identifier ;) })) (if_statement "if (((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene)) break;" if (parenthesized_expression "(((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene))" ( (binary_expression "((image_info->ping != MagickFalse) && (image_info->number_scenes != 0)) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene)" (parenthesized_expression "((image_info->ping != MagickFalse) && (image_info->number_scenes != 0))" ( (binary_expression "(image_info->ping != MagickFalse) && (image_info->number_scenes != 0)" (parenthesized_expression "(image_info->ping != MagickFalse)" ( (binary_expression "image_info->ping != MagickFalse" (field_expression "image_info->ping" identifier -> field_identifier) != identifier) )) && (parenthesized_expression "(image_info->number_scenes != 0)" ( (binary_expression "image_info->number_scenes != 0" (field_expression "image_info->number_scenes" identifier -> field_identifier) != number_literal) ))) )) && (parenthesized_expression "((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene)" ( (binary_expression "(image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene" (binary_expression "(image_info->number_scenes + image_info->scene) - 1" (parenthesized_expression "(image_info->number_scenes + image_info->scene)" ( (binary_expression "image_info->number_scenes + image_info->scene" (field_expression "image_info->number_scenes" identifier -> field_identifier) + (field_expression "image_info->scene" identifier -> field_identifier)) )) - number_literal) <= (field_expression "pIVar5->scene" identifier -> field_identifier)) ))) )) (break_statement "break;" break ;)) (expression_statement "local_164 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (pIVar5,pIVar5->columns,pIVar5->rows,exception);" (assignment_expression "local_164 = (*(code *)PTR_SetImageExtent_003a94ac)\n                              (pIVar5,pIVar5->columns,pIVar5->rows,exception)" identifier = (call_expression "(*(code *)PTR_SetImageExtent_003a94ac)\n                              (pIVar5,pIVar5->columns,pIVar5->rows,exception)" (parenthesized_expression "(*(code *)PTR_SetImageExtent_003a94ac)" ( (pointer_expression "*(code *)PTR_SetImageExtent_003a94ac" * (cast_expression "(code *)PTR_SetImageExtent_003a94ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,pIVar5->columns,pIVar5->rows,exception)" ( identifier , (field_expression "pIVar5->columns" identifier -> field_identifier) , (field_expression "pIVar5->rows" identifier -> field_identifier) , identifier )))) ;) (if_statement "if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }" if (parenthesized_expression "(local_164 == 0)" ( (binary_expression "local_164 == 0" identifier == number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (goto_statement "goto LAB_002a57d0;" goto statement_identifier ;) })) (expression_statement "uVar16 = uVar42 + 1;" (assignment_expression "uVar16 = uVar42 + 1" identifier = (binary_expression "uVar42 + 1" identifier + number_literal)) ;) (expression_statement "local_17c = (uint)uVar1;" (assignment_expression "local_17c = (uint)uVar1" identifier = (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar15 = uVar42;" (assignment_expression "uVar15 = uVar42" identifier = identifier) ;) (if_statement "if ((uVar42 & 1) != 0) {\n          uVar43 = uVar16 * local_180 + (int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar15 = uVar16;\n        }" if (parenthesized_expression "((uVar42 & 1) != 0)" ( (binary_expression "(uVar42 & 1) != 0" (parenthesized_expression "(uVar42 & 1)" ( (binary_expression "uVar42 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          uVar43 = uVar16 * local_180 + (int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar15 = uVar16;\n        }" { (expression_statement "uVar43 = uVar16 * local_180 + (int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20);" (assignment_expression "uVar43 = uVar16 * local_180 + (int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20)" identifier = (binary_expression "uVar16 * local_180 + (int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20)" (binary_expression "uVar16 * local_180" identifier * identifier) + (cast_expression "(int)((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20)" ( (binary_expression "(ulonglong)uVar16 * (uVar1 & 0xffffffff) >> 0x20" (binary_expression "(ulonglong)uVar16 * (uVar1 & 0xffffffff)" (cast_expression "(ulonglong)uVar16" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (parenthesized_expression "(uVar1 & 0xffffffff)" ( (binary_expression "uVar1 & 0xffffffff" identifier & number_literal) ))) >> number_literal) ))))) ;) (expression_statement "uVar15 = uVar16;" (assignment_expression "uVar15 = uVar16" identifier = identifier) ;) })) (if_statement "if (uVar43 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x161;\n          goto LAB_002a705c;\n        }" if (parenthesized_expression "(uVar43 != 0)" ( (binary_expression "uVar43 != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar40 = 0x161;\n          goto LAB_002a705c;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar40 = 0x161;" (assignment_expression "uVar40 = 0x161" identifier = number_literal) ;) (goto_statement "goto LAB_002a705c;" goto statement_identifier ;) })) (expression_statement "uVar43 = 4;" (assignment_expression "uVar43 = 4" identifier = number_literal) ;) (if_statement "if (3 < uVar15) {\n          uVar43 = uVar15;\n        }" if (parenthesized_expression "(3 < uVar15)" ( (binary_expression "3 < uVar15" number_literal < identifier) )) (compound_statement "{\n          uVar43 = uVar15;\n        }" { (expression_statement "uVar43 = uVar15;" (assignment_expression "uVar43 = uVar15" identifier = identifier) ;) })) (expression_statement "iVar6 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(pIVar5->columns,uVar43 * pIVar5->rows);" (assignment_expression "iVar6 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(pIVar5->columns,uVar43 * pIVar5->rows)" identifier = (call_expression "(*(code *)PTR_AcquireVirtualMemory_003a92cc)(pIVar5->columns,uVar43 * pIVar5->rows)" (parenthesized_expression "(*(code *)PTR_AcquireVirtualMemory_003a92cc)" ( (pointer_expression "*(code *)PTR_AcquireVirtualMemory_003a92cc" * (cast_expression "(code *)PTR_AcquireVirtualMemory_003a92cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5->columns,uVar43 * pIVar5->rows)" ( (field_expression "pIVar5->columns" identifier -> field_identifier) , (binary_expression "uVar43 * pIVar5->rows" identifier * (field_expression "pIVar5->rows" identifier -> field_identifier)) )))) ;) (if_statement "if (iVar6 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar40 = 0x165;\n          goto LAB_002a705c;\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar40 = 0x165;\n          goto LAB_002a705c;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (expression_statement "uVar40 = 0x165;" (assignment_expression "uVar40 = 0x165" identifier = number_literal) ;) (goto_statement "goto LAB_002a705c;" goto statement_identifier ;) })) (expression_statement "sVar30 = pIVar5->rows;" (assignment_expression "sVar30 = pIVar5->rows" identifier = (field_expression "pIVar5->rows" identifier -> field_identifier)) ;) (expression_statement "sVar8 = pIVar5->columns;" (assignment_expression "sVar8 = pIVar5->columns" identifier = (field_expression "pIVar5->columns" identifier -> field_identifier)) ;) (expression_statement "pbVar17 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar6);" (assignment_expression "pbVar17 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar6)" identifier = (cast_expression "(byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar6)" (parenthesized_expression "(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)" ( (pointer_expression "*(code *)PTR_GetVirtualMemoryBlob_003a8f28" * (cast_expression "(code *)PTR_GetVirtualMemoryBlob_003a8f28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_memset_003a96d4)(pbVar17,0,sVar8 * sVar30 * uVar43);" (call_expression "(*(code *)PTR_memset_003a96d4)(pbVar17,0,sVar8 * sVar30 * uVar43)" (parenthesized_expression "(*(code *)PTR_memset_003a96d4)" ( (pointer_expression "*(code *)PTR_memset_003a96d4" * (cast_expression "(code *)PTR_memset_003a96d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar17,0,sVar8 * sVar30 * uVar43)" ( identifier , number_literal , (binary_expression "sVar8 * sVar30 * uVar43" (binary_expression "sVar8 * sVar30" identifier * identifier) * identifier) ))) ;) (if_statement "if ((PVar9 & (UpdatePixelTrait|CopyPixelTrait)) == CopyPixelTrait) {\n          uVar43 = 0;\n          if ((int)local_17c < 1) {\n            uVar10 = 0;\n          }\n          else {\n            pbVar23 = pbVar17;\n            do {\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            } while (local_17c != uVar43);\n          }\n        }" if (parenthesized_expression "((PVar9 & (UpdatePixelTrait|CopyPixelTrait)) == CopyPixelTrait)" ( (binary_expression "(PVar9 & (UpdatePixelTrait|CopyPixelTrait)) == CopyPixelTrait" (parenthesized_expression "(PVar9 & (UpdatePixelTrait|CopyPixelTrait))" ( (binary_expression "PVar9 & (UpdatePixelTrait|CopyPixelTrait)" identifier & (parenthesized_expression "(UpdatePixelTrait|CopyPixelTrait)" ( (binary_expression "UpdatePixelTrait|CopyPixelTrait" identifier | identifier) ))) )) == identifier) )) (compound_statement "{\n          uVar43 = 0;\n          if ((int)local_17c < 1) {\n            uVar10 = 0;\n          }\n          else {\n            pbVar23 = pbVar17;\n            do {\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            } while (local_17c != uVar43);\n          }\n        }" { (expression_statement "uVar43 = 0;" (assignment_expression "uVar43 = 0" identifier = number_literal) ;) (if_statement "if ((int)local_17c < 1) {\n            uVar10 = 0;\n          }\n          else {\n            pbVar23 = pbVar17;\n            do {\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            } while (local_17c != uVar43);\n          }" if (parenthesized_expression "((int)local_17c < 1)" ( (binary_expression "(int)local_17c < 1" (cast_expression "(int)local_17c" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            uVar10 = 0;\n          }" { (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            pbVar23 = pbVar17;\n            do {\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            } while (local_17c != uVar43);\n          }" else (compound_statement "{\n            pbVar23 = pbVar17;\n            do {\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            } while (local_17c != uVar43);\n          }" { (expression_statement "pbVar23 = pbVar17;" (assignment_expression "pbVar23 = pbVar17" identifier = identifier) ;) (do_statement "do {\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            } while (local_17c != uVar43);" do (compound_statement "{\n              pbVar37 = background_color;\n              pbVar44 = pbVar23;\n              if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }\n              uVar43 = uVar43 + 1;\n              pbVar23 = pbVar37;\n              uVar10 = local_17c;\n            }" { (expression_statement "pbVar37 = background_color;" (assignment_expression "pbVar37 = background_color" identifier = identifier) ;) (expression_statement "pbVar44 = pbVar23;" (assignment_expression "pbVar44 = pbVar23" identifier = identifier) ;) (if_statement "if (pIVar5->alpha_trait == UndefinedPixelTrait) {\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }\n              else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }" if (parenthesized_expression "(pIVar5->alpha_trait == UndefinedPixelTrait)" ( (binary_expression "pIVar5->alpha_trait == UndefinedPixelTrait" (field_expression "pIVar5->alpha_trait" identifier -> field_identifier) == identifier) )) (compound_statement "{\n                do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);\n                pbVar37 = pbVar23 + uVar42;\n              }" { (do_statement "do {\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                } while (pbVar36 != background_color + uVar42);" do (compound_statement "{\n                  pbVar36 = pbVar37 + 1;\n                  *pbVar44 = *pbVar37;\n                  pbVar37 = pbVar36;\n                  pbVar44 = pbVar44 + 1;\n                }" { (expression_statement "pbVar36 = pbVar37 + 1;" (assignment_expression "pbVar36 = pbVar37 + 1" identifier = (binary_expression "pbVar37 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar44 = *pbVar37;" (assignment_expression "*pbVar44 = *pbVar37" (pointer_expression "*pbVar44" * identifier) = (pointer_expression "*pbVar37" * identifier)) ;) (expression_statement "pbVar37 = pbVar36;" (assignment_expression "pbVar37 = pbVar36" identifier = identifier) ;) (expression_statement "pbVar44 = pbVar44 + 1;" (assignment_expression "pbVar44 = pbVar44 + 1" identifier = (binary_expression "pbVar44 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar36 != background_color + uVar42)" ( (binary_expression "pbVar36 != background_color + uVar42" identifier != (binary_expression "background_color + uVar42" identifier + identifier)) )) ;) (expression_statement "pbVar37 = pbVar23 + uVar42;" (assignment_expression "pbVar37 = pbVar23 + uVar42" identifier = (binary_expression "pbVar23 + uVar42" identifier + identifier)) ;) }) (else_clause "else {\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }" else (compound_statement "{\n                if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }\n                pbVar37 = pbVar23 + 1;\n                *pbVar23 = 0;\n              }" { (if_statement "if (uVar42 - 1 != 0) {\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }" if (parenthesized_expression "(uVar42 - 1 != 0)" ( (binary_expression "uVar42 - 1 != 0" (binary_expression "uVar42 - 1" identifier - number_literal) != number_literal) )) (compound_statement "{\n                  pbVar36 = pbVar23 + (uVar42 - 1);\n                  pbVar37 = pbVar23;\n                  pbVar44 = background_color;\n                  do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);\n                }" { (expression_statement "pbVar36 = pbVar23 + (uVar42 - 1);" (assignment_expression "pbVar36 = pbVar23 + (uVar42 - 1)" identifier = (binary_expression "pbVar23 + (uVar42 - 1)" identifier + (parenthesized_expression "(uVar42 - 1)" ( (binary_expression "uVar42 - 1" identifier - number_literal) )))) ;) (expression_statement "pbVar37 = pbVar23;" (assignment_expression "pbVar37 = pbVar23" identifier = identifier) ;) (expression_statement "pbVar44 = background_color;" (assignment_expression "pbVar44 = background_color" identifier = identifier) ;) (do_statement "do {\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  } while (pbVar36 != pbVar23);" do (compound_statement "{\n                    bVar28 = *pbVar44;\n                    pbVar23 = pbVar37 + 1;\n                    pbVar44 = pbVar44 + 1;\n                    *pbVar37 = bVar28;\n                    pbVar37 = pbVar23;\n                  }" { (expression_statement "bVar28 = *pbVar44;" (assignment_expression "bVar28 = *pbVar44" identifier = (pointer_expression "*pbVar44" * identifier)) ;) (expression_statement "pbVar23 = pbVar37 + 1;" (assignment_expression "pbVar23 = pbVar37 + 1" identifier = (binary_expression "pbVar37 + 1" identifier + number_literal)) ;) (expression_statement "pbVar44 = pbVar44 + 1;" (assignment_expression "pbVar44 = pbVar44 + 1" identifier = (binary_expression "pbVar44 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar37 = bVar28;" (assignment_expression "*pbVar37 = bVar28" (pointer_expression "*pbVar37" * identifier) = identifier) ;) (expression_statement "pbVar37 = pbVar23;" (assignment_expression "pbVar37 = pbVar23" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar36 != pbVar23)" ( (binary_expression "pbVar36 != pbVar23" identifier != identifier) )) ;) })) (expression_statement "pbVar37 = pbVar23 + 1;" (assignment_expression "pbVar37 = pbVar23 + 1" identifier = (binary_expression "pbVar23 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar23 = 0;" (assignment_expression "*pbVar23 = 0" (pointer_expression "*pbVar23" * identifier) = number_literal) ;) }))) (expression_statement "uVar43 = uVar43 + 1;" (assignment_expression "uVar43 = uVar43 + 1" identifier = (binary_expression "uVar43 + 1" identifier + number_literal)) ;) (expression_statement "pbVar23 = pbVar37;" (assignment_expression "pbVar23 = pbVar37" identifier = identifier) ;) (expression_statement "uVar10 = local_17c;" (assignment_expression "uVar10 = local_17c" identifier = identifier) ;) }) while (parenthesized_expression "(local_17c != uVar43)" ( (binary_expression "local_17c != uVar43" identifier != identifier) )) ;) }))) })) (expression_statement "uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);" (assignment_expression "uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" (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 "(pIVar5)" ( identifier )))) ;) (expression_statement "unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;" (assignment_expression "unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c" identifier = identifier) ;) (if_statement "if (uVar43 == 0xffffffff) {\n          if (uVar11 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n          uVar40 = 0x18b;\nLAB_002a5df4:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -0x17c;\n          uVar22 = 0x1a9;\n          unaff_s8 = pbVar14;\n          goto LAB_002a5e2c;\n        }" if (parenthesized_expression "(uVar43 == 0xffffffff)" ( (binary_expression "uVar43 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n          if (uVar11 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n          uVar40 = 0x18b;\nLAB_002a5df4:\n          pcVar19 = image_info->filename;\n          puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar21 = PTR_s_courses_003a88ec + -0x17c;\n          uVar22 = 0x1a9;\n          unaff_s8 = pbVar14;\n          goto LAB_002a5e2c;\n        }" { (if_statement "if (uVar11 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" if (parenthesized_expression "(uVar11 != 0)" ( (binary_expression "uVar11 != 0" identifier != number_literal) )) (compound_statement "{\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" { (expression_statement "local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);" (assignment_expression "local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" identifier = (cast_expression "(byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (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 "(local_178)" ( identifier ))))) ;) })) (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "uVar40 = 0x18b;" (assignment_expression "uVar40 = 0x18b" identifier = number_literal) ;) (labeled_statement "LAB_002a5df4:\n          pcVar19 = image_info->filename;" statement_identifier : (expression_statement "pcVar19 = image_info->filename;" (assignment_expression "pcVar19 = image_info->filename" identifier = (field_expression "image_info->filename" identifier -> field_identifier)) ;)) (expression_statement "puVar20 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar20 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar21 = PTR_s_courses_003a88ec + -0x17c;" (assignment_expression "puVar21 = PTR_s_courses_003a88ec + -0x17c" identifier = (binary_expression "PTR_s_courses_003a88ec + -0x17c" identifier + number_literal)) ;) (expression_statement "uVar22 = 0x1a9;" (assignment_expression "uVar22 = 0x1a9" identifier = number_literal) ;) (expression_statement "unaff_s8 = pbVar14;" (assignment_expression "unaff_s8 = pbVar14" identifier = identifier) ;) (goto_statement "goto LAB_002a5e2c;" goto statement_identifier ;) })) (expression_statement "local_1a0 = (byte *)0x0;" (assignment_expression "local_1a0 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar43 = uVar43 & 0x3f;" (assignment_expression "uVar43 = uVar43 & 0x3f" identifier = (binary_expression "uVar43 & 0x3f" identifier & number_literal)) ;) (do_statement "do {\n          if (uVar43 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))();\n            return pIVar5;\n          }\n          uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar43 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x1fb;\n            pbVar14 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar43 = uVar43 & 0x3f;\n        } while (uVar43 != 7);" do (compound_statement "{\n          if (uVar43 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))();\n            return pIVar5;\n          }\n          uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);\n          puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar43 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x1fb;\n            pbVar14 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar43 = uVar43 & 0x3f;\n        }" { (if_statement "if (uVar43 < 7) {\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))();\n            return pIVar5;\n          }" if (parenthesized_expression "(uVar43 < 7)" ( (binary_expression "uVar43 < 7" identifier < number_literal) )) (compound_statement "{\n                    /* WARNING: Could not emulate address calculation at 0x002a5938 */\n                    /* WARNING: Treating indirect jump as call */\n            pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))();\n            return pIVar5;\n          }" { comment comment (expression_statement "pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))();" (assignment_expression "pIVar5 = (Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))()" identifier = (cast_expression "(Image *)(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))()" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))()" (parenthesized_expression "(*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)))" ( (pointer_expression "*(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590))" * (cast_expression "(code *)(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590))" ( (binary_expression "&_gp + *(int *)(unaff_s8 + uVar43 * 4 + 0x2590)" (pointer_expression "&_gp" & identifier) + (pointer_expression "*(int *)(unaff_s8 + uVar43 * 4 + 0x2590)" * (cast_expression "(int *)(unaff_s8 + uVar43 * 4 + 0x2590)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s8 + uVar43 * 4 + 0x2590)" ( (binary_expression "unaff_s8 + uVar43 * 4 + 0x2590" (binary_expression "unaff_s8 + uVar43 * 4" identifier + (binary_expression "uVar43 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))))) ;) (return_statement "return pIVar5;" return identifier ;) })) (expression_statement "uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);" (assignment_expression "uVar43 = (*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" (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 "(pIVar5)" ( identifier )))) ;) (expression_statement "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;" (assignment_expression "puVar21 = PTR_s_pixels_3_def_____currentfile_byt_003a894c" identifier = identifier) ;) (if_statement "if (uVar43 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x1fb;\n            pbVar14 = unaff_s8;\n            goto LAB_002a5df4;\n          }" if (parenthesized_expression "(uVar43 == 0xffffffff)" ( (binary_expression "uVar43 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x1fb;\n            pbVar14 = unaff_s8;\n            goto LAB_002a5df4;\n          }" { (if_statement "if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "uVar40 = 0x1fb;" (assignment_expression "uVar40 = 0x1fb" identifier = number_literal) ;) (expression_statement "pbVar14 = unaff_s8;" (assignment_expression "pbVar14 = unaff_s8" identifier = identifier) ;) (goto_statement "goto LAB_002a5df4;" goto statement_identifier ;) })) (expression_statement "uVar43 = uVar43 & 0x3f;" (assignment_expression "uVar43 = uVar43 & 0x3f" identifier = (binary_expression "uVar43 & 0x3f" identifier & number_literal)) ;) }) while (parenthesized_expression "(uVar43 != 7)" ( (binary_expression "uVar43 != 7" identifier != number_literal) )) ;) (if_statement "if (uVar11 == 0) {\n          if (uVar42 < 3) {\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception);\n            if (iVar13 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x246;\nLAB_002a705c:\n            pcVar19 = image_info->filename;\n            puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar21 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar22 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)pIVar5->rows) {\nLAB_002a5be0:\n            iVar13 = 0;\n            dVar50 = *(double *)(puVar20 + -0x5af0);\n            puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar10 = 0;\n            do {\n              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n              if (iVar18 == 0) break;\n              sVar30 = pIVar5->columns;\n              sVar8 = 0;\n              if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }\n              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n              if (iVar18 == 0) break;\n              sVar8 = pIVar5->rows;\n              if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }\n              uVar12 = uVar10 + 1;\n              iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n              uVar10 = uVar12;\n            } while ((int)uVar12 < (int)sVar8);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar11 == 1) {\n            if (0 < (int)local_17c) {\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }\n            if (2 < uVar42) {\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);\n            if (iVar13 == 0) goto LAB_002a725c;\n            if (uVar11 == 1) {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }\n            else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }\n            puVar21 = PTR_s_t_to_left_003a88e4;\n            if (PVar9 == UndefinedPixelTrait) {\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }\n            else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }\nLAB_002a5fb4:\n            if (uVar11 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }\n            sVar8 = pIVar5->rows;\nLAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (compound_statement "{\n          if (uVar42 < 3) {\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception);\n            if (iVar13 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x246;\nLAB_002a705c:\n            pcVar19 = image_info->filename;\n            puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar21 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar22 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)pIVar5->rows) {\nLAB_002a5be0:\n            iVar13 = 0;\n            dVar50 = *(double *)(puVar20 + -0x5af0);\n            puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar10 = 0;\n            do {\n              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n              if (iVar18 == 0) break;\n              sVar30 = pIVar5->columns;\n              sVar8 = 0;\n              if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }\n              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n              if (iVar18 == 0) break;\n              sVar8 = pIVar5->rows;\n              if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }\n              uVar12 = uVar10 + 1;\n              iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n              uVar10 = uVar12;\n            } while ((int)uVar12 < (int)sVar8);\n            goto LAB_002a5fb4;\n          }\n        }" { (if_statement "if (uVar42 < 3) {\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception);\n            if (iVar13 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x246;\nLAB_002a705c:\n            pcVar19 = image_info->filename;\n            puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar21 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar22 = 400;\n            goto LAB_002a5e2c;\n          }" if (parenthesized_expression "(uVar42 < 3)" ( (binary_expression "uVar42 < 3" identifier < number_literal) )) (compound_statement "{\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception);\n            if (iVar13 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n            uVar40 = 0x246;\nLAB_002a705c:\n            pcVar19 = image_info->filename;\n            puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar21 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar22 = 400;\n            goto LAB_002a5e2c;\n          }" { (expression_statement "iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception);" (assignment_expression "iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception)" identifier = (call_expression "(*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,0x100,exception)" (parenthesized_expression "(*(code *)PTR_AcquireImageColormap_003a9194)" ( (pointer_expression "*(code *)PTR_AcquireImageColormap_003a9194" * (cast_expression "(code *)PTR_AcquireImageColormap_003a9194" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,0x100,exception)" ( identifier , number_literal , identifier )))) ;) (if_statement "if (iVar13 != 0) goto LAB_002a6328;" if (parenthesized_expression "(iVar13 != 0)" ( (binary_expression "iVar13 != 0" identifier != number_literal) )) (goto_statement "goto LAB_002a6328;" goto statement_identifier ;)) (labeled_statement "LAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" statement_identifier : (if_statement "if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) }))) (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "uVar40 = 0x246;" (assignment_expression "uVar40 = 0x246" identifier = number_literal) ;) (labeled_statement "LAB_002a705c:\n            pcVar19 = image_info->filename;" statement_identifier : (expression_statement "pcVar19 = image_info->filename;" (assignment_expression "pcVar19 = image_info->filename" identifier = (field_expression "image_info->filename" identifier -> field_identifier)) ;)) (expression_statement "puVar20 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar20 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar21 = PTR_LAB_003a88e0 + 0x16f8;" (assignment_expression "puVar21 = PTR_LAB_003a88e0 + 0x16f8" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x16f8" identifier + number_literal)) ;) (expression_statement "uVar22 = 400;" (assignment_expression "uVar22 = 400" identifier = number_literal) ;) (goto_statement "goto LAB_002a5e2c;" goto statement_identifier ;) })) (if_statement "if (0 < (int)pIVar5->rows) {\nLAB_002a5be0:\n            iVar13 = 0;\n            dVar50 = *(double *)(puVar20 + -0x5af0);\n            puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar10 = 0;\n            do {\n              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n              if (iVar18 == 0) break;\n              sVar30 = pIVar5->columns;\n              sVar8 = 0;\n              if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }\n              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n              if (iVar18 == 0) break;\n              sVar8 = pIVar5->rows;\n              if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }\n              uVar12 = uVar10 + 1;\n              iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n              uVar10 = uVar12;\n            } while ((int)uVar12 < (int)sVar8);\n            goto LAB_002a5fb4;\n          }" if (parenthesized_expression "(0 < (int)pIVar5->rows)" ( (binary_expression "0 < (int)pIVar5->rows" number_literal < (cast_expression "(int)pIVar5->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar5->rows" identifier -> field_identifier))) )) (compound_statement "{\nLAB_002a5be0:\n            iVar13 = 0;\n            dVar50 = *(double *)(puVar20 + -0x5af0);\n            puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar10 = 0;\n            do {\n              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n              if (iVar18 == 0) break;\n              sVar30 = pIVar5->columns;\n              sVar8 = 0;\n              if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }\n              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n              if (iVar18 == 0) break;\n              sVar8 = pIVar5->rows;\n              if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }\n              uVar12 = uVar10 + 1;\n              iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n              uVar10 = uVar12;\n            } while ((int)uVar12 < (int)sVar8);\n            goto LAB_002a5fb4;\n          }" { (labeled_statement "LAB_002a5be0:\n            iVar13 = 0;" statement_identifier : (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;)) (expression_statement "dVar50 = *(double *)(puVar20 + -0x5af0);" (assignment_expression "dVar50 = *(double *)(puVar20 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar20 + -0x5af0)" * (cast_expression "(double *)(puVar20 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + -0x5af0)" ( (binary_expression "puVar20 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;" (assignment_expression "puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0" identifier + number_literal)) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n              if (iVar18 == 0) break;\n              sVar30 = pIVar5->columns;\n              sVar8 = 0;\n              if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }\n              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n              if (iVar18 == 0) break;\n              sVar8 = pIVar5->rows;\n              if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }\n              uVar12 = uVar10 + 1;\n              iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n              uVar10 = uVar12;\n            } while ((int)uVar12 < (int)sVar8);" do (compound_statement "{\n              iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n              if (iVar18 == 0) break;\n              sVar30 = pIVar5->columns;\n              sVar8 = 0;\n              if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }\n              iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n              if (iVar18 == 0) break;\n              sVar8 = pIVar5->rows;\n              if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }\n              uVar12 = uVar10 + 1;\n              iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n              uVar10 = uVar12;\n            }" { (expression_statement "iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception);" (assignment_expression "iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception)" identifier = (call_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (pIVar5,0,uVar10,pIVar5->columns,1,exception)" (parenthesized_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)" ( (pointer_expression "*(code *)PTR_QueueAuthenticPixels_003a8f24" * (cast_expression "(code *)PTR_QueueAuthenticPixels_003a8f24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,0,uVar10,pIVar5->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "pIVar5->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (if_statement "if (iVar18 == 0) break;" if (parenthesized_expression "(iVar18 == 0)" ( (binary_expression "iVar18 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "sVar30 = pIVar5->columns;" (assignment_expression "sVar30 = pIVar5->columns" identifier = (field_expression "pIVar5->columns" identifier -> field_identifier)) ;) (expression_statement "sVar8 = 0;" (assignment_expression "sVar8 = 0" identifier = number_literal) ;) (if_statement "if (0 < (int)sVar30) {\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }" if (parenthesized_expression "(0 < (int)sVar30)" ( (binary_expression "0 < (int)sVar30" number_literal < (cast_expression "(int)sVar30" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                pPVar41 = pIVar5->channel_map;\n                sVar31 = pIVar5->number_channels;\n                PVar9 = pIVar5->alpha_trait;\n                pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);\n                pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);\n                pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);\n                pbVar14 = pbVar17;\n                do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);\n              }" { (expression_statement "pPVar41 = pIVar5->channel_map;" (assignment_expression "pPVar41 = pIVar5->channel_map" identifier = (field_expression "pIVar5->channel_map" identifier -> field_identifier)) ;) (expression_statement "sVar31 = pIVar5->number_channels;" (assignment_expression "sVar31 = pIVar5->number_channels" identifier = (field_expression "pIVar5->number_channels" identifier -> field_identifier)) ;) (expression_statement "PVar9 = pIVar5->alpha_trait;" (assignment_expression "PVar9 = pIVar5->alpha_trait" identifier = (field_expression "pIVar5->alpha_trait" identifier -> field_identifier)) ;) (expression_statement "pfVar38 = (float *)(iVar18 + pPVar41->offset * 4);" (assignment_expression "pfVar38 = (float *)(iVar18 + pPVar41->offset * 4)" identifier = (cast_expression "(float *)(iVar18 + pPVar41->offset * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + pPVar41->offset * 4)" ( (binary_expression "iVar18 + pPVar41->offset * 4" identifier + (binary_expression "pPVar41->offset * 4" (field_expression "pPVar41->offset" identifier -> field_identifier) * number_literal)) )))) ;) (expression_statement "pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4);" (assignment_expression "pfVar34 = (float *)(iVar18 + pPVar41[1].offset * 4)" identifier = (cast_expression "(float *)(iVar18 + pPVar41[1].offset * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + pPVar41[1].offset * 4)" ( (binary_expression "iVar18 + pPVar41[1].offset * 4" identifier + (binary_expression "pPVar41[1].offset * 4" (field_expression "pPVar41[1].offset" (subscript_expression "pPVar41[1]" identifier [ number_literal ]) . field_identifier) * number_literal)) )))) ;) (expression_statement "pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4);" (assignment_expression "pfVar33 = (float *)(iVar18 + pPVar41[2].offset * 4)" identifier = (cast_expression "(float *)(iVar18 + pPVar41[2].offset * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + pPVar41[2].offset * 4)" ( (binary_expression "iVar18 + pPVar41[2].offset * 4" identifier + (binary_expression "pPVar41[2].offset * 4" (field_expression "pPVar41[2].offset" (subscript_expression "pPVar41[2]" identifier [ number_literal ]) . field_identifier) * number_literal)) )))) ;) (expression_statement "pbVar14 = pbVar17;" (assignment_expression "pbVar14 = pbVar17" identifier = identifier) ;) (do_statement "do {\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                } while (sVar8 != sVar30);" do (compound_statement "{\n                  *pfVar38 = (float)((double)*pbVar14 * dVar50);\n                  *pfVar34 = (float)((double)pbVar14[1] * dVar50);\n                  *pfVar33 = (float)((double)pbVar14[2] * dVar50);\n                  if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }\n                  sVar8 = sVar8 + 1;\n                  iVar18 = iVar18 + sVar31 * 4;\n                  pfVar38 = pfVar38 + sVar31;\n                  pfVar34 = pfVar34 + sVar31;\n                  pfVar33 = pfVar33 + sVar31;\n                  pbVar14 = pbVar17;\n                }" { (expression_statement "*pfVar38 = (float)((double)*pbVar14 * dVar50);" (assignment_expression "*pfVar38 = (float)((double)*pbVar14 * dVar50)" (pointer_expression "*pfVar38" * identifier) = (cast_expression "(float)((double)*pbVar14 * dVar50)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar14 * dVar50)" ( (binary_expression "(double)*pbVar14 * dVar50" (cast_expression "(double)*pbVar14" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar14" * identifier)) * identifier) )))) ;) (expression_statement "*pfVar34 = (float)((double)pbVar14[1] * dVar50);" (assignment_expression "*pfVar34 = (float)((double)pbVar14[1] * dVar50)" (pointer_expression "*pfVar34" * identifier) = (cast_expression "(float)((double)pbVar14[1] * dVar50)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar14[1] * dVar50)" ( (binary_expression "(double)pbVar14[1] * dVar50" (cast_expression "(double)pbVar14[1]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar14[1]" identifier [ number_literal ])) * identifier) )))) ;) (expression_statement "*pfVar33 = (float)((double)pbVar14[2] * dVar50);" (assignment_expression "*pfVar33 = (float)((double)pbVar14[2] * dVar50)" (pointer_expression "*pfVar33" * identifier) = (cast_expression "(float)((double)pbVar14[2] * dVar50)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar14[2] * dVar50)" ( (binary_expression "(double)pbVar14[2] * dVar50" (cast_expression "(double)pbVar14[2]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar14[2]" identifier [ number_literal ])) * identifier) )))) ;) (if_statement "if (PVar9 == UndefinedPixelTrait) {\n                    pbVar17 = pbVar14 + 3;\n                  }\n                  else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }" if (parenthesized_expression "(PVar9 == UndefinedPixelTrait)" ( (binary_expression "PVar9 == UndefinedPixelTrait" identifier == identifier) )) (compound_statement "{\n                    pbVar17 = pbVar14 + 3;\n                  }" { (expression_statement "pbVar17 = pbVar14 + 3;" (assignment_expression "pbVar17 = pbVar14 + 3" identifier = (binary_expression "pbVar14 + 3" identifier + number_literal)) ;) }) (else_clause "else {\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }" else (compound_statement "{\n                    pbVar17 = pbVar14 + 4;\n                    if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }\n                  }" { (expression_statement "pbVar17 = pbVar14 + 4;" (assignment_expression "pbVar17 = pbVar14 + 4" identifier = (binary_expression "pbVar14 + 4" identifier + number_literal)) ;) (if_statement "if (pPVar41[4].traits != UndefinedPixelTrait) {\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }" if (parenthesized_expression "(pPVar41[4].traits != UndefinedPixelTrait)" ( (binary_expression "pPVar41[4].traits != UndefinedPixelTrait" (field_expression "pPVar41[4].traits" (subscript_expression "pPVar41[4]" identifier [ number_literal ]) . field_identifier) != identifier) )) (compound_statement "{\n                      *(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);\n                    }" { (expression_statement "*(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50);" (assignment_expression "*(float *)(iVar18 + pPVar41[4].offset * 4) =\n                           (float)((double)pbVar14[3] * dVar50)" (pointer_expression "*(float *)(iVar18 + pPVar41[4].offset * 4)" * (cast_expression "(float *)(iVar18 + pPVar41[4].offset * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + pPVar41[4].offset * 4)" ( (binary_expression "iVar18 + pPVar41[4].offset * 4" identifier + (binary_expression "pPVar41[4].offset * 4" (field_expression "pPVar41[4].offset" (subscript_expression "pPVar41[4]" identifier [ number_literal ]) . field_identifier) * number_literal)) )))) = (cast_expression "(float)((double)pbVar14[3] * dVar50)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar14[3] * dVar50)" ( (binary_expression "(double)pbVar14[3] * dVar50" (cast_expression "(double)pbVar14[3]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar14[3]" identifier [ number_literal ])) * identifier) )))) ;) })) }))) (expression_statement "sVar8 = sVar8 + 1;" (assignment_expression "sVar8 = sVar8 + 1" identifier = (binary_expression "sVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar18 = iVar18 + sVar31 * 4;" (assignment_expression "iVar18 = iVar18 + sVar31 * 4" identifier = (binary_expression "iVar18 + sVar31 * 4" identifier + (binary_expression "sVar31 * 4" identifier * number_literal))) ;) (expression_statement "pfVar38 = pfVar38 + sVar31;" (assignment_expression "pfVar38 = pfVar38 + sVar31" identifier = (binary_expression "pfVar38 + sVar31" identifier + identifier)) ;) (expression_statement "pfVar34 = pfVar34 + sVar31;" (assignment_expression "pfVar34 = pfVar34 + sVar31" identifier = (binary_expression "pfVar34 + sVar31" identifier + identifier)) ;) (expression_statement "pfVar33 = pfVar33 + sVar31;" (assignment_expression "pfVar33 = pfVar33 + sVar31" identifier = (binary_expression "pfVar33 + sVar31" identifier + identifier)) ;) (expression_statement "pbVar14 = pbVar17;" (assignment_expression "pbVar14 = pbVar17" identifier = identifier) ;) }) while (parenthesized_expression "(sVar8 != sVar30)" ( (binary_expression "sVar8 != sVar30" identifier != identifier) )) ;) })) (expression_statement "iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);" (assignment_expression "iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception)" identifier = (call_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception)" (parenthesized_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)" ( (pointer_expression "*(code *)PTR_SyncAuthenticPixels_003a91e4" * (cast_expression "(code *)PTR_SyncAuthenticPixels_003a91e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,exception)" ( identifier , identifier )))) ;) (if_statement "if (iVar18 == 0) break;" if (parenthesized_expression "(iVar18 == 0)" ( (binary_expression "iVar18 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "sVar8 = pIVar5->rows;" (assignment_expression "sVar8 = pIVar5->rows" identifier = (field_expression "pIVar5->rows" identifier -> field_identifier)) ;) (if_statement "if (pIVar5->previous == (_Image *)0x0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }" if (parenthesized_expression "(pIVar5->previous == (_Image *)0x0)" ( (binary_expression "pIVar5->previous == (_Image *)0x0" (field_expression "pIVar5->previous" identifier -> field_identifier) == (cast_expression "(_Image *)0x0" ( (type_descriptor "_Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                if (local_164 == 0) break;\n                sVar8 = pIVar5->rows;\n              }" { (expression_statement "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8);" (assignment_expression "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8)" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (pIVar5,puVar21,iVar13,uVar10,0,sVar8)" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,puVar21,iVar13,uVar10,0,sVar8)" ( identifier , identifier , identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (local_164 == 0) break;" if (parenthesized_expression "(local_164 == 0)" ( (binary_expression "local_164 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "sVar8 = pIVar5->rows;" (assignment_expression "sVar8 = pIVar5->rows" identifier = (field_expression "pIVar5->rows" identifier -> field_identifier)) ;) })) (expression_statement "uVar12 = uVar10 + 1;" (assignment_expression "uVar12 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) (expression_statement "iVar13 = (uint)(uVar12 < uVar10) + iVar13;" (assignment_expression "iVar13 = (uint)(uVar12 < uVar10) + iVar13" identifier = (binary_expression "(uint)(uVar12 < uVar10) + iVar13" (call_expression "(uint)(uVar12 < uVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar12 < uVar10)" ( (binary_expression "uVar12 < uVar10" identifier < identifier) ))) + identifier)) ;) (expression_statement "uVar10 = uVar12;" (assignment_expression "uVar10 = uVar12" identifier = identifier) ;) }) while (parenthesized_expression "((int)uVar12 < (int)sVar8)" ( (binary_expression "(int)uVar12 < (int)sVar8" (cast_expression "(int)uVar12" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)sVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) (goto_statement "goto LAB_002a5fb4;" goto statement_identifier ;) })) }) (else_clause "else {\n          if (uVar11 == 1) {\n            if (0 < (int)local_17c) {\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }\n            if (2 < uVar42) {\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);\n            if (iVar13 == 0) goto LAB_002a725c;\n            if (uVar11 == 1) {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }\n            else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }\n            puVar21 = PTR_s_t_to_left_003a88e4;\n            if (PVar9 == UndefinedPixelTrait) {\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }\n            else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }\nLAB_002a5fb4:\n            if (uVar11 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }\n            sVar8 = pIVar5->rows;\nLAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }" else (compound_statement "{\n          if (uVar11 == 1) {\n            if (0 < (int)local_17c) {\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }\n            if (2 < uVar42) {\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);\n            if (iVar13 == 0) goto LAB_002a725c;\n            if (uVar11 == 1) {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }\n            else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }\n            puVar21 = PTR_s_t_to_left_003a88e4;\n            if (PVar9 == UndefinedPixelTrait) {\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }\n            else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }\nLAB_002a5fb4:\n            if (uVar11 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }\n            sVar8 = pIVar5->rows;\nLAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }" { (if_statement "if (uVar11 == 1) {\n            if (0 < (int)local_17c) {\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }\n            if (2 < uVar42) {\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);\n            if (iVar13 == 0) goto LAB_002a725c;\n            if (uVar11 == 1) {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }\n            else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }\n            puVar21 = PTR_s_t_to_left_003a88e4;\n            if (PVar9 == UndefinedPixelTrait) {\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }\n            else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }\nLAB_002a5fb4:\n            if (uVar11 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }\n            sVar8 = pIVar5->rows;\nLAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;\n          }" if (parenthesized_expression "(uVar11 == 1)" ( (binary_expression "uVar11 == 1" identifier == number_literal) )) (compound_statement "{\n            if (0 < (int)local_17c) {\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }\n            if (2 < uVar42) {\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);\n            if (iVar13 == 0) goto LAB_002a725c;\n            if (uVar11 == 1) {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }\n            else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }\n            puVar21 = PTR_s_t_to_left_003a88e4;\n            if (PVar9 == UndefinedPixelTrait) {\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }\n            else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }\nLAB_002a5fb4:\n            if (uVar11 == 0) goto LAB_002a5fc4;\n          }" { (if_statement "if (0 < (int)local_17c) {\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }" if (parenthesized_expression "(0 < (int)local_17c)" ( (binary_expression "0 < (int)local_17c" number_literal < (cast_expression "(int)local_17c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n              puVar26 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar35 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar14 = pbVar17;\n              do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);\n            }" { (expression_statement "puVar26 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar26 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar35 = PTR_s_courses_003a88ec + 0x6f4;" (assignment_expression "puVar35 = PTR_s_courses_003a88ec + 0x6f4" identifier = (binary_expression "PTR_s_courses_003a88ec + 0x6f4" identifier + number_literal)) ;) (expression_statement "puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;" (assignment_expression "puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x5990" identifier + number_literal)) ;) (expression_statement "pbVar14 = pbVar17;" (assignment_expression "pbVar14 = pbVar17" identifier = identifier) ;) (do_statement "do {\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              } while (pbVar37 != pbVar17 + local_17c);" do (compound_statement "{\n                uVar10 = (uint)*pbVar14 & uVar29 - 1;\n                if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }\n                pbVar37 = pbVar14 + 1;\n                *pbVar14 = *pbVar23;\n                pbVar14 = pbVar37;\n                unaff_s8 = puVar21;\n                local_1a0 = pbVar17;\n              }" { (expression_statement "uVar10 = (uint)*pbVar14 & uVar29 - 1;" (assignment_expression "uVar10 = (uint)*pbVar14 & uVar29 - 1" identifier = (binary_expression "(uint)*pbVar14 & uVar29 - 1" (binary_expression "(uint)*pbVar14" (parenthesized_expression "(uint)" ( identifier )) * identifier) & (binary_expression "uVar29 - 1" identifier - number_literal))) ;) (if_statement "if ((int)uVar10 < (int)pIVar5->colors) {\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }\n                else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }" if (parenthesized_expression "((int)uVar10 < (int)pIVar5->colors)" ( (binary_expression "(int)uVar10 < (int)pIVar5->colors" (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)pIVar5->colors" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar5->colors" identifier -> field_identifier))) )) (compound_statement "{\n                  pbVar23 = local_178 + (int)(float)uVar10;\n                }" { (expression_statement "pbVar23 = local_178 + (int)(float)uVar10;" (assignment_expression "pbVar23 = local_178 + (int)(float)uVar10" identifier = (binary_expression "local_178 + (int)(float)uVar10" identifier + (cast_expression "(int)(float)uVar10" ( (type_descriptor "int" primitive_type) ) (cast_expression "(float)uVar10" ( (type_descriptor "float" primitive_type) ) identifier)))) ;) }) (else_clause "else {\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }" else (compound_statement "{\n                  pbVar23 = local_178;\n                  if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }\n                }" { (expression_statement "pbVar23 = local_178;" (assignment_expression "pbVar23 = local_178" identifier = identifier) ;) (if_statement "if (exception->severity != CorruptImageError) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }" if (parenthesized_expression "(exception->severity != CorruptImageError)" ( (binary_expression "exception->severity != CorruptImageError" (field_expression "exception->severity" identifier -> field_identifier) != identifier) )) (compound_statement "{\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);\n                  }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                              (exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(exception,puVar35,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar26,\n                               pIVar5->filename)" ( identifier , identifier , (binary_expression "puVar21 + 0x25ac" identifier + number_literal) , number_literal , number_literal , identifier , identifier , (field_expression "pIVar5->filename" identifier -> field_identifier) ))) ;) })) }))) (expression_statement "pbVar37 = pbVar14 + 1;" (assignment_expression "pbVar37 = pbVar14 + 1" identifier = (binary_expression "pbVar14 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar14 = *pbVar23;" (assignment_expression "*pbVar14 = *pbVar23" (pointer_expression "*pbVar14" * identifier) = (pointer_expression "*pbVar23" * identifier)) ;) (expression_statement "pbVar14 = pbVar37;" (assignment_expression "pbVar14 = pbVar37" identifier = identifier) ;) (expression_statement "unaff_s8 = puVar21;" (assignment_expression "unaff_s8 = puVar21" identifier = identifier) ;) (expression_statement "local_1a0 = pbVar17;" (assignment_expression "local_1a0 = pbVar17" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar37 != pbVar17 + local_17c)" ( (binary_expression "pbVar37 != pbVar17 + local_17c" identifier != (binary_expression "pbVar17 + local_17c" identifier + identifier)) )) ;) })) (if_statement "if (2 < uVar42) {\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }" if (parenthesized_expression "(2 < uVar42)" ( (binary_expression "2 < uVar42" number_literal < identifier) )) (compound_statement "{\n              sVar8 = pIVar5->rows;\n              goto LAB_002a5bd4;\n            }" { (expression_statement "sVar8 = pIVar5->rows;" (assignment_expression "sVar8 = pIVar5->rows" identifier = (field_expression "pIVar5->rows" identifier -> field_identifier)) ;) (goto_statement "goto LAB_002a5bd4;" goto statement_identifier ;) })) (labeled_statement "LAB_002a6aa4:\n            iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);" statement_identifier : (expression_statement "iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception);" (assignment_expression "iVar13 = (*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception)" identifier = (call_expression "(*(code *)PTR_AcquireImageColormap_003a9194)(pIVar5,uVar29,exception)" (parenthesized_expression "(*(code *)PTR_AcquireImageColormap_003a9194)" ( (pointer_expression "*(code *)PTR_AcquireImageColormap_003a9194" * (cast_expression "(code *)PTR_AcquireImageColormap_003a9194" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,uVar29,exception)" ( identifier , identifier , identifier )))) ;)) (if_statement "if (iVar13 == 0) goto LAB_002a725c;" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002a725c;" goto statement_identifier ;)) (if_statement "if (uVar11 == 1) {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }\n            else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }" if (parenthesized_expression "(uVar11 == 1)" ( (binary_expression "uVar11 == 1" identifier == number_literal) )) (compound_statement "{\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) goto LAB_002a6328;\n              uVar10 = 0;\n              dVar50 = *(double *)(puVar20 + -0x5af0);\n              pMVar25 = &pIVar5->colormap->red;\n              do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);\n              PVar9 = pIVar5->alpha_trait;\n            }" { (expression_statement "sVar8 = pIVar5->colors;" (assignment_expression "sVar8 = pIVar5->colors" identifier = (field_expression "pIVar5->colors" identifier -> field_identifier)) ;) (if_statement "if ((int)sVar8 < 1) goto LAB_002a6328;" if (parenthesized_expression "((int)sVar8 < 1)" ( (binary_expression "(int)sVar8 < 1" (cast_expression "(int)sVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_002a6328;" goto statement_identifier ;)) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "dVar50 = *(double *)(puVar20 + -0x5af0);" (assignment_expression "dVar50 = *(double *)(puVar20 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar20 + -0x5af0)" * (cast_expression "(double *)(puVar20 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + -0x5af0)" ( (binary_expression "puVar20 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "pMVar25 = &pIVar5->colormap->red;" (assignment_expression "pMVar25 = &pIVar5->colormap->red" identifier = (pointer_expression "&pIVar5->colormap->red" & (field_expression "pIVar5->colormap->red" (field_expression "pIVar5->colormap" identifier -> field_identifier) -> field_identifier))) ;) (do_statement "do {\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              } while (sVar8 != uVar10);" do (compound_statement "{\n                uVar12 = uVar10 & 0xff;\n                uVar10 = uVar10 + 1;\n                dVar47 = (double)(float)((double)uVar12 * dVar50);\n                *pMVar25 = dVar47;\n                pMVar25[1] = dVar47;\n                pMVar25[2] = dVar47;\n                pMVar25 = pMVar25 + 0xb;\n              }" { (expression_statement "uVar12 = uVar10 & 0xff;" (assignment_expression "uVar12 = uVar10 & 0xff" identifier = (binary_expression "uVar10 & 0xff" identifier & number_literal)) ;) (expression_statement "uVar10 = uVar10 + 1;" (assignment_expression "uVar10 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) (expression_statement "dVar47 = (double)(float)((double)uVar12 * dVar50);" (assignment_expression "dVar47 = (double)(float)((double)uVar12 * dVar50)" identifier = (cast_expression "(double)(float)((double)uVar12 * dVar50)" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)((double)uVar12 * dVar50)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)uVar12 * dVar50)" ( (binary_expression "(double)uVar12 * dVar50" (cast_expression "(double)uVar12" ( (type_descriptor "double" primitive_type) ) identifier) * identifier) ))))) ;) (expression_statement "*pMVar25 = dVar47;" (assignment_expression "*pMVar25 = dVar47" (pointer_expression "*pMVar25" * identifier) = identifier) ;) (expression_statement "pMVar25[1] = dVar47;" (assignment_expression "pMVar25[1] = dVar47" (subscript_expression "pMVar25[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pMVar25[2] = dVar47;" (assignment_expression "pMVar25[2] = dVar47" (subscript_expression "pMVar25[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pMVar25 = pMVar25 + 0xb;" (assignment_expression "pMVar25 = pMVar25 + 0xb" identifier = (binary_expression "pMVar25 + 0xb" identifier + number_literal)) ;) }) while (parenthesized_expression "(sVar8 != uVar10)" ( (binary_expression "sVar8 != uVar10" identifier != identifier) )) ;) (expression_statement "PVar9 = pIVar5->alpha_trait;" (assignment_expression "PVar9 = pIVar5->alpha_trait" identifier = (field_expression "pIVar5->alpha_trait" identifier -> field_identifier)) ;) }) (else_clause "else {\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }" else (compound_statement "{\n              sVar8 = pIVar5->colors;\n              if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }\n            }" { (expression_statement "sVar8 = pIVar5->colors;" (assignment_expression "sVar8 = pIVar5->colors" identifier = (field_expression "pIVar5->colors" identifier -> field_identifier)) ;) (if_statement "if ((int)sVar8 < 1) {\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }\n              else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }" if (parenthesized_expression "((int)sVar8 < 1)" ( (binary_expression "(int)sVar8 < 1" (cast_expression "(int)sVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\nLAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;\n              }" { (labeled_statement "LAB_002a6328:\n                PVar9 = pIVar5->alpha_trait;" statement_identifier : (expression_statement "PVar9 = pIVar5->alpha_trait;" (assignment_expression "PVar9 = pIVar5->alpha_trait" identifier = (field_expression "pIVar5->alpha_trait" identifier -> field_identifier)) ;)) }) (else_clause "else {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }" else (compound_statement "{\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                pMVar25 = &pIVar5->colormap->red;\n                pbVar14 = local_178 + uVar29;\n                pbVar23 = local_178 + (2 << (uVar12 & 0x1f));\n                pbVar37 = local_178;\n                do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);\n                PVar9 = pIVar5->alpha_trait;\n              }" { (expression_statement "dVar50 = *(double *)(puVar20 + -0x5af0);" (assignment_expression "dVar50 = *(double *)(puVar20 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar20 + -0x5af0)" * (cast_expression "(double *)(puVar20 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + -0x5af0)" ( (binary_expression "puVar20 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "pMVar25 = &pIVar5->colormap->red;" (assignment_expression "pMVar25 = &pIVar5->colormap->red" identifier = (pointer_expression "&pIVar5->colormap->red" & (field_expression "pIVar5->colormap->red" (field_expression "pIVar5->colormap" identifier -> field_identifier) -> field_identifier))) ;) (expression_statement "pbVar14 = local_178 + uVar29;" (assignment_expression "pbVar14 = local_178 + uVar29" identifier = (binary_expression "local_178 + uVar29" identifier + identifier)) ;) (expression_statement "pbVar23 = local_178 + (2 << (uVar12 & 0x1f));" (assignment_expression "pbVar23 = local_178 + (2 << (uVar12 & 0x1f))" identifier = (binary_expression "local_178 + (2 << (uVar12 & 0x1f))" identifier + (parenthesized_expression "(2 << (uVar12 & 0x1f))" ( (binary_expression "2 << (uVar12 & 0x1f)" number_literal << (parenthesized_expression "(uVar12 & 0x1f)" ( (binary_expression "uVar12 & 0x1f" identifier & number_literal) ))) )))) ;) (expression_statement "pbVar37 = local_178;" (assignment_expression "pbVar37 = local_178" identifier = identifier) ;) (do_statement "do {\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                } while (pbVar44 != local_178 + sVar8 + uVar29);" do (compound_statement "{\n                  bVar28 = *pbVar37;\n                  pbVar44 = pbVar14 + 1;\n                  pbVar37 = pbVar37 + 1;\n                  *pMVar25 = (double)(float)((double)bVar28 * dVar50);\n                  pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);\n                  pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);\n                  pMVar25 = pMVar25 + 0xb;\n                  pbVar14 = pbVar44;\n                  pbVar23 = pbVar23 + 1;\n                }" { (expression_statement "bVar28 = *pbVar37;" (assignment_expression "bVar28 = *pbVar37" identifier = (pointer_expression "*pbVar37" * identifier)) ;) (expression_statement "pbVar44 = pbVar14 + 1;" (assignment_expression "pbVar44 = pbVar14 + 1" identifier = (binary_expression "pbVar14 + 1" identifier + number_literal)) ;) (expression_statement "pbVar37 = pbVar37 + 1;" (assignment_expression "pbVar37 = pbVar37 + 1" identifier = (binary_expression "pbVar37 + 1" identifier + number_literal)) ;) (expression_statement "*pMVar25 = (double)(float)((double)bVar28 * dVar50);" (assignment_expression "*pMVar25 = (double)(float)((double)bVar28 * dVar50)" (pointer_expression "*pMVar25" * identifier) = (cast_expression "(double)(float)((double)bVar28 * dVar50)" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)((double)bVar28 * dVar50)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)bVar28 * dVar50)" ( (binary_expression "(double)bVar28 * dVar50" (cast_expression "(double)bVar28" ( (type_descriptor "double" primitive_type) ) identifier) * identifier) ))))) ;) (expression_statement "pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50);" (assignment_expression "pMVar25[1] = (double)(float)((double)*pbVar14 * dVar50)" (subscript_expression "pMVar25[1]" identifier [ number_literal ]) = (cast_expression "(double)(float)((double)*pbVar14 * dVar50)" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)((double)*pbVar14 * dVar50)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar14 * dVar50)" ( (binary_expression "(double)*pbVar14 * dVar50" (cast_expression "(double)*pbVar14" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar14" * identifier)) * identifier) ))))) ;) (expression_statement "pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50);" (assignment_expression "pMVar25[2] = (double)(float)((double)*pbVar23 * dVar50)" (subscript_expression "pMVar25[2]" identifier [ number_literal ]) = (cast_expression "(double)(float)((double)*pbVar23 * dVar50)" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)((double)*pbVar23 * dVar50)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar23 * dVar50)" ( (binary_expression "(double)*pbVar23 * dVar50" (cast_expression "(double)*pbVar23" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar23" * identifier)) * identifier) ))))) ;) (expression_statement "pMVar25 = pMVar25 + 0xb;" (assignment_expression "pMVar25 = pMVar25 + 0xb" identifier = (binary_expression "pMVar25 + 0xb" identifier + number_literal)) ;) (expression_statement "pbVar14 = pbVar44;" (assignment_expression "pbVar14 = pbVar44" identifier = identifier) ;) (expression_statement "pbVar23 = pbVar23 + 1;" (assignment_expression "pbVar23 = pbVar23 + 1" identifier = (binary_expression "pbVar23 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar44 != local_178 + sVar8 + uVar29)" ( (binary_expression "pbVar44 != local_178 + sVar8 + uVar29" identifier != (binary_expression "local_178 + sVar8 + uVar29" (binary_expression "local_178 + sVar8" identifier + identifier) + identifier)) )) ;) (expression_statement "PVar9 = pIVar5->alpha_trait;" (assignment_expression "PVar9 = pIVar5->alpha_trait" identifier = (field_expression "pIVar5->alpha_trait" identifier -> field_identifier)) ;) }))) }))) (expression_statement "puVar21 = PTR_s_t_to_left_003a88e4;" (assignment_expression "puVar21 = PTR_s_t_to_left_003a88e4" identifier = identifier) ;) (if_statement "if (PVar9 == UndefinedPixelTrait) {\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }\n            else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }" if (parenthesized_expression "(PVar9 == UndefinedPixelTrait)" ( (binary_expression "PVar9 == UndefinedPixelTrait" identifier == identifier) )) (compound_statement "{\n              if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);\n            }" { (if_statement "if (0 < (int)pIVar5->rows) {\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }" if (parenthesized_expression "(0 < (int)pIVar5->rows)" ( (binary_expression "0 < (int)pIVar5->rows" number_literal < (cast_expression "(int)pIVar5->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar5->rows" identifier -> field_identifier))) )) (compound_statement "{\n                iVar13 = 0;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar10 = 0;\n                do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }" { (expression_statement "iVar13 = 0;" (assignment_expression "iVar13 = 0" identifier = number_literal) ;) (expression_statement "puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;" (assignment_expression "puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0" identifier + number_literal)) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (do_statement "do {\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);" do (compound_statement "{\n                  iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  if (iVar18 == 0) break;\n                  pbVar14 = pbVar17 + pIVar5->columns;\n                  if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }\n                  iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar18 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  iVar13 = (uint)(uVar12 < uVar10) + iVar13;\n                  uVar10 = uVar12;\n                }" { (expression_statement "iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);" (assignment_expression "iVar18 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception)" identifier = (call_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception)" (parenthesized_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)" ( (pointer_expression "*(code *)PTR_QueueAuthenticPixels_003a8f24" * (cast_expression "(code *)PTR_QueueAuthenticPixels_003a8f24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,0,uVar10,pIVar5->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "pIVar5->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (if_statement "if (iVar18 == 0) break;" if (parenthesized_expression "(iVar18 == 0)" ( (binary_expression "iVar18 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar14 = pbVar17 + pIVar5->columns;" (assignment_expression "pbVar14 = pbVar17 + pIVar5->columns" identifier = (binary_expression "pbVar17 + pIVar5->columns" identifier + (field_expression "pIVar5->columns" identifier -> field_identifier))) ;) (if_statement "if (0 < (int)pIVar5->columns) {\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }" if (parenthesized_expression "(0 < (int)pIVar5->columns)" ( (binary_expression "0 < (int)pIVar5->columns" number_literal < (cast_expression "(int)pIVar5->columns" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar5->columns" identifier -> field_identifier))) )) (compound_statement "{\n                    pPVar41 = pIVar5->channel_map;\n                    sVar8 = pIVar5->number_channels;\n                    PVar9 = pPVar41[5].traits;\n                    pbVar23 = pbVar17;\n                    do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);\n                  }" { (expression_statement "pPVar41 = pIVar5->channel_map;" (assignment_expression "pPVar41 = pIVar5->channel_map" identifier = (field_expression "pIVar5->channel_map" identifier -> field_identifier)) ;) (expression_statement "sVar8 = pIVar5->number_channels;" (assignment_expression "sVar8 = pIVar5->number_channels" identifier = (field_expression "pIVar5->number_channels" identifier -> field_identifier)) ;) (expression_statement "PVar9 = pPVar41[5].traits;" (assignment_expression "PVar9 = pPVar41[5].traits" identifier = (field_expression "pPVar41[5].traits" (subscript_expression "pPVar41[5]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "pbVar23 = pbVar17;" (assignment_expression "pbVar23 = pbVar17" identifier = identifier) ;) (do_statement "do {\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    } while (pbVar14 != pbVar17);" do (compound_statement "{\n                      pbVar17 = pbVar23 + 1;\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }\n                      iVar18 = iVar18 + sVar8 * 4;\n                      pbVar23 = pbVar17;\n                    }" { (expression_statement "pbVar17 = pbVar23 + 1;" (assignment_expression "pbVar17 = pbVar23 + 1" identifier = (binary_expression "pbVar23 + 1" identifier + number_literal)) ;) (if_statement "if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }" if (parenthesized_expression "(PVar9 != UndefinedPixelTrait)" ( (binary_expression "PVar9 != UndefinedPixelTrait" identifier != identifier) )) (compound_statement "{\n                        *(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;\n                      }" { (expression_statement "*(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23;" (assignment_expression "*(float *)(iVar18 + pPVar41[5].offset * 4) = (float)*pbVar23" (pointer_expression "*(float *)(iVar18 + pPVar41[5].offset * 4)" * (cast_expression "(float *)(iVar18 + pPVar41[5].offset * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar18 + pPVar41[5].offset * 4)" ( (binary_expression "iVar18 + pPVar41[5].offset * 4" identifier + (binary_expression "pPVar41[5].offset * 4" (field_expression "pPVar41[5].offset" (subscript_expression "pPVar41[5]" identifier [ number_literal ]) . field_identifier) * number_literal)) )))) = (cast_expression "(float)*pbVar23" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*pbVar23" * identifier))) ;) })) (expression_statement "iVar18 = iVar18 + sVar8 * 4;" (assignment_expression "iVar18 = iVar18 + sVar8 * 4" identifier = (binary_expression "iVar18 + sVar8 * 4" identifier + (binary_expression "sVar8 * 4" identifier * number_literal))) ;) (expression_statement "pbVar23 = pbVar17;" (assignment_expression "pbVar23 = pbVar17" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar14 != pbVar17)" ( (binary_expression "pbVar14 != pbVar17" identifier != identifier) )) ;) })) (expression_statement "iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);" (assignment_expression "iVar18 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception)" identifier = (call_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception)" (parenthesized_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)" ( (pointer_expression "*(code *)PTR_SyncAuthenticPixels_003a91e4" * (cast_expression "(code *)PTR_SyncAuthenticPixels_003a91e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,exception)" ( identifier , identifier )))) ;) (if_statement "if (iVar18 == 0) break;" if (parenthesized_expression "(iVar18 == 0)" ( (binary_expression "iVar18 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "sVar8 = pIVar5->rows;" (assignment_expression "sVar8 = pIVar5->rows" identifier = (field_expression "pIVar5->rows" identifier -> field_identifier)) ;) (if_statement "if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }" if (parenthesized_expression "(pIVar5->previous == (_Image *)0x0)" ( (binary_expression "pIVar5->previous == (_Image *)0x0" (field_expression "pIVar5->previous" identifier -> field_identifier) == (cast_expression "(_Image *)0x0" ( (type_descriptor "_Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }" { (expression_statement "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8);" (assignment_expression "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8)" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,puVar21,iVar13,uVar10,0,sVar8)" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,puVar21,iVar13,uVar10,0,sVar8)" ( identifier , identifier , identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (local_164 == 0) break;" if (parenthesized_expression "(local_164 == 0)" ( (binary_expression "local_164 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "sVar8 = pIVar5->rows;" (assignment_expression "sVar8 = pIVar5->rows" identifier = (field_expression "pIVar5->rows" identifier -> field_identifier)) ;) })) (expression_statement "uVar12 = uVar10 + 1;" (assignment_expression "uVar12 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) (expression_statement "iVar13 = (uint)(uVar12 < uVar10) + iVar13;" (assignment_expression "iVar13 = (uint)(uVar12 < uVar10) + iVar13" identifier = (binary_expression "(uint)(uVar12 < uVar10) + iVar13" (call_expression "(uint)(uVar12 < uVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar12 < uVar10)" ( (binary_expression "uVar12 < uVar10" identifier < identifier) ))) + identifier)) ;) (expression_statement "uVar10 = uVar12;" (assignment_expression "uVar10 = uVar12" identifier = identifier) ;) }) while (parenthesized_expression "((int)uVar12 < (int)sVar8)" ( (binary_expression "(int)uVar12 < (int)sVar8" (cast_expression "(int)uVar12" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)sVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) (expression_statement "(*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception);" (call_expression "(*(code *)PTR_SyncImage_003a8d84)(pIVar5,exception)" (parenthesized_expression "(*(code *)PTR_SyncImage_003a8d84)" ( (pointer_expression "*(code *)PTR_SyncImage_003a8d84" * (cast_expression "(code *)PTR_SyncImage_003a8d84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,exception)" ( identifier , identifier ))) ;) }) (else_clause "else {\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }" else (compound_statement "{\n              if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }\n              pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);\n              pIVar5->colormap = pPVar32;\n              pIVar5->colors = 0;\n              pIVar5->storage_class = DirectClass;\n            }" { (if_statement "if (0 < (int)pIVar5->rows) {\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }" if (parenthesized_expression "(0 < (int)pIVar5->rows)" ( (binary_expression "0 < (int)pIVar5->rows" number_literal < (cast_expression "(int)pIVar5->rows" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar5->rows" identifier -> field_identifier))) )) (compound_statement "{\n                dVar50 = *(double *)(puVar20 + -0x5af0);\n                puVar39 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar10 = 0;\n                unaff_s8 = pbVar17;\n                do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);\n              }" { (expression_statement "dVar50 = *(double *)(puVar20 + -0x5af0);" (assignment_expression "dVar50 = *(double *)(puVar20 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar20 + -0x5af0)" * (cast_expression "(double *)(puVar20 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar20 + -0x5af0)" ( (binary_expression "puVar20 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "puVar39 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar39 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;" (assignment_expression "puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac" identifier + number_literal)) ;) (expression_statement "local_1a0 = (byte *)0x0;" (assignment_expression "local_1a0 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar10 = 0;" (assignment_expression "uVar10 = 0" identifier = number_literal) ;) (expression_statement "unaff_s8 = pbVar17;" (assignment_expression "unaff_s8 = pbVar17" identifier = identifier) ;) (do_statement "do {\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                } while ((int)uVar12 < (int)sVar8);" do (compound_statement "{\n                  iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);\n                  puVar26 = PTR_s_courses_003a88ec;\n                  if (iVar13 == 0) break;\n                  if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }\n                  iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);\n                  if (iVar13 == 0) break;\n                  sVar8 = pIVar5->rows;\n                  if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }\n                  uVar12 = uVar10 + 1;\n                  local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);\n                  uVar10 = uVar12;\n                }" { (expression_statement "iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception);" (assignment_expression "iVar13 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception)" identifier = (call_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (pIVar5,0,uVar10,pIVar5->columns,1,exception)" (parenthesized_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)" ( (pointer_expression "*(code *)PTR_QueueAuthenticPixels_003a8f24" * (cast_expression "(code *)PTR_QueueAuthenticPixels_003a8f24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,0,uVar10,pIVar5->columns,1,exception)" ( identifier , number_literal , identifier , (field_expression "pIVar5->columns" identifier -> field_identifier) , number_literal , identifier )))) ;) (expression_statement "puVar26 = PTR_s_courses_003a88ec;" (assignment_expression "puVar26 = PTR_s_courses_003a88ec" identifier = identifier) ;) (if_statement "if (iVar13 == 0) break;" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if (0 < (int)pIVar5->columns) {\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }" if (parenthesized_expression "(0 < (int)pIVar5->columns)" ( (binary_expression "0 < (int)pIVar5->columns" number_literal < (cast_expression "(int)pIVar5->columns" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar5->columns" identifier -> field_identifier))) )) (compound_statement "{\n                    iVar18 = 0;\n                    pbVar14 = unaff_s8;\n                    do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);\n                  }" { (expression_statement "iVar18 = 0;" (assignment_expression "iVar18 = 0" identifier = number_literal) ;) (expression_statement "pbVar14 = unaff_s8;" (assignment_expression "pbVar14 = unaff_s8" identifier = identifier) ;) (do_statement "do {\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    } while (iVar18 < (int)pIVar5->columns);" do (compound_statement "{\n                      sVar8 = pIVar5->colors;\n                      if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }\n                      pPVar32 = pIVar5->colormap;\n                      pPVar41 = pIVar5->channel_map;\n                      *(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);\n                      if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      *(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);\n                      if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }\n                      PVar9 = pPVar41[4].traits;\n                      unaff_s8 = pbVar14 + 4;\n                      *(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);\n                      if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }\n                      iVar18 = iVar18 + 1;\n                      iVar13 = iVar13 + pIVar5->number_channels * 4;\n                      pbVar14 = unaff_s8;\n                    }" { (expression_statement "sVar8 = pIVar5->colors;" (assignment_expression "sVar8 = pIVar5->colors" identifier = (field_expression "pIVar5->colors" identifier -> field_identifier)) ;) (if_statement "if ((int)(uint)*pbVar14 < (int)sVar8) {\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }" if (parenthesized_expression "((int)(uint)*pbVar14 < (int)sVar8)" ( (binary_expression "(int)(uint)*pbVar14 < (int)sVar8" (binary_expression "(int)(uint)*pbVar14" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier) < (cast_expression "(int)sVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                        iVar24 = (int)(float)*pbVar14 * 0x58;\n                      }" { (expression_statement "iVar24 = (int)(float)*pbVar14 * 0x58;" (assignment_expression "iVar24 = (int)(float)*pbVar14 * 0x58" identifier = (binary_expression "(int)(float)*pbVar14 * 0x58" (cast_expression "(int)(float)*pbVar14" ( (type_descriptor "int" primitive_type) ) (cast_expression "(float)*pbVar14" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*pbVar14" * identifier))) * number_literal)) ;) }) (else_clause "else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }" else (if_statement "if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }" if (parenthesized_expression "(exception->severity == CorruptImageError)" ( (binary_expression "exception->severity == CorruptImageError" (field_expression "exception->severity" identifier -> field_identifier) == identifier) )) (compound_statement "{\n                        iVar24 = 0;\n                      }" { (expression_statement "iVar24 = 0;" (assignment_expression "iVar24 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }" else (compound_statement "{\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        sVar8 = pIVar5->colors;\n                      }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename)" ( identifier , (binary_expression "puVar26 + 0x6f4" identifier + number_literal) , identifier , number_literal , number_literal , (binary_expression "puVar21 + -0x5990" identifier + number_literal) , identifier , (field_expression "pIVar5->filename" identifier -> field_identifier) ))) ;) (expression_statement "iVar24 = 0;" (assignment_expression "iVar24 = 0" identifier = number_literal) ;) (expression_statement "sVar8 = pIVar5->colors;" (assignment_expression "sVar8 = pIVar5->colors" identifier = (field_expression "pIVar5->colors" identifier -> field_identifier)) ;) }))))) (expression_statement "pPVar32 = pIVar5->colormap;" (assignment_expression "pPVar32 = pIVar5->colormap" identifier = (field_expression "pIVar5->colormap" identifier -> field_identifier)) ;) (expression_statement "pPVar41 = pIVar5->channel_map;" (assignment_expression "pPVar41 = pIVar5->channel_map" identifier = (field_expression "pIVar5->channel_map" identifier -> field_identifier)) ;) (expression_statement "*(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24);" (assignment_expression "*(float *)(iVar13 + pPVar41->offset * 4) =\n                           (float)*(double *)((int)&pPVar32->red + iVar24)" (pointer_expression "*(float *)(iVar13 + pPVar41->offset * 4)" * (cast_expression "(float *)(iVar13 + pPVar41->offset * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + pPVar41->offset * 4)" ( (binary_expression "iVar13 + pPVar41->offset * 4" identifier + (binary_expression "pPVar41->offset * 4" (field_expression "pPVar41->offset" identifier -> field_identifier) * number_literal)) )))) = (cast_expression "(float)*(double *)((int)&pPVar32->red + iVar24)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)((int)&pPVar32->red + iVar24)" * (cast_expression "(double *)((int)&pPVar32->red + iVar24)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar32->red + iVar24)" ( (binary_expression "(int)&pPVar32->red + iVar24" (cast_expression "(int)&pPVar32->red" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar32->red" & (field_expression "pPVar32->red" identifier -> field_identifier))) + identifier) )))))) ;) (if_statement "if ((int)(uint)pbVar14[1] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }" if (parenthesized_expression "((int)(uint)pbVar14[1] < (int)sVar8)" ( (binary_expression "(int)(uint)pbVar14[1] < (int)sVar8" (cast_expression "(int)(uint)pbVar14[1]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(uint)pbVar14[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar14[1]" identifier [ number_literal ]))) < (cast_expression "(int)sVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                        iVar24 = (int)(float)pbVar14[1] * 0x58;\n                      }" { (expression_statement "iVar24 = (int)(float)pbVar14[1] * 0x58;" (assignment_expression "iVar24 = (int)(float)pbVar14[1] * 0x58" identifier = (binary_expression "(int)(float)pbVar14[1] * 0x58" (cast_expression "(int)(float)pbVar14[1]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(float)pbVar14[1]" ( (type_descriptor "float" primitive_type) ) (subscript_expression "pbVar14[1]" identifier [ number_literal ]))) * number_literal)) ;) }) (else_clause "else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }" else (if_statement "if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }" if (parenthesized_expression "(exception->severity == CorruptImageError)" ( (binary_expression "exception->severity == CorruptImageError" (field_expression "exception->severity" identifier -> field_identifier) == identifier) )) (compound_statement "{\n                        iVar24 = 0;\n                      }" { (expression_statement "iVar24 = 0;" (assignment_expression "iVar24 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }" else (compound_statement "{\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        sVar8 = pIVar5->colors;\n                        pPVar41 = pIVar5->channel_map;\n                      }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename)" ( identifier , (binary_expression "puVar26 + 0x6f4" identifier + number_literal) , identifier , number_literal , number_literal , (binary_expression "puVar21 + -0x5990" identifier + number_literal) , identifier , (field_expression "pIVar5->filename" identifier -> field_identifier) ))) ;) (expression_statement "iVar24 = 0;" (assignment_expression "iVar24 = 0" identifier = number_literal) ;) (expression_statement "pPVar32 = pIVar5->colormap;" (assignment_expression "pPVar32 = pIVar5->colormap" identifier = (field_expression "pIVar5->colormap" identifier -> field_identifier)) ;) (expression_statement "sVar8 = pIVar5->colors;" (assignment_expression "sVar8 = pIVar5->colors" identifier = (field_expression "pIVar5->colors" identifier -> field_identifier)) ;) (expression_statement "pPVar41 = pIVar5->channel_map;" (assignment_expression "pPVar41 = pIVar5->channel_map" identifier = (field_expression "pIVar5->channel_map" identifier -> field_identifier)) ;) }))))) (expression_statement "*(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24);" (assignment_expression "*(float *)(iVar13 + pPVar41[1].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->green + iVar24)" (pointer_expression "*(float *)(iVar13 + pPVar41[1].offset * 4)" * (cast_expression "(float *)(iVar13 + pPVar41[1].offset * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + pPVar41[1].offset * 4)" ( (binary_expression "iVar13 + pPVar41[1].offset * 4" identifier + (binary_expression "pPVar41[1].offset * 4" (field_expression "pPVar41[1].offset" (subscript_expression "pPVar41[1]" identifier [ number_literal ]) . field_identifier) * number_literal)) )))) = (cast_expression "(float)*(double *)((int)&pPVar32->green + iVar24)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)((int)&pPVar32->green + iVar24)" * (cast_expression "(double *)((int)&pPVar32->green + iVar24)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar32->green + iVar24)" ( (binary_expression "(int)&pPVar32->green + iVar24" (cast_expression "(int)&pPVar32->green" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar32->green" & (field_expression "pPVar32->green" identifier -> field_identifier))) + identifier) )))))) ;) (if_statement "if ((int)(uint)pbVar14[2] < (int)sVar8) {\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }\n                      else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }" if (parenthesized_expression "((int)(uint)pbVar14[2] < (int)sVar8)" ( (binary_expression "(int)(uint)pbVar14[2] < (int)sVar8" (cast_expression "(int)(uint)pbVar14[2]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(uint)pbVar14[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar14[2]" identifier [ number_literal ]))) < (cast_expression "(int)sVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                        iVar24 = (int)(float)pbVar14[2] * 0x58;\n                      }" { (expression_statement "iVar24 = (int)(float)pbVar14[2] * 0x58;" (assignment_expression "iVar24 = (int)(float)pbVar14[2] * 0x58" identifier = (binary_expression "(int)(float)pbVar14[2] * 0x58" (cast_expression "(int)(float)pbVar14[2]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(float)pbVar14[2]" ( (type_descriptor "float" primitive_type) ) (subscript_expression "pbVar14[2]" identifier [ number_literal ]))) * number_literal)) ;) }) (else_clause "else if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }" else (if_statement "if (exception->severity == CorruptImageError) {\n                        iVar24 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }" if (parenthesized_expression "(exception->severity == CorruptImageError)" ( (binary_expression "exception->severity == CorruptImageError" (field_expression "exception->severity" identifier -> field_identifier) == identifier) )) (compound_statement "{\n                        iVar24 = 0;\n                      }" { (expression_statement "iVar24 = 0;" (assignment_expression "iVar24 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }" else (compound_statement "{\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);\n                        iVar24 = 0;\n                        pPVar32 = pIVar5->colormap;\n                        pPVar41 = pIVar5->channel_map;\n                      }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(exception,puVar26 + 0x6f4,puVar35,0x30,0x1a9,puVar21 + -0x5990,\n                                   puVar39,pIVar5->filename)" ( identifier , (binary_expression "puVar26 + 0x6f4" identifier + number_literal) , identifier , number_literal , number_literal , (binary_expression "puVar21 + -0x5990" identifier + number_literal) , identifier , (field_expression "pIVar5->filename" identifier -> field_identifier) ))) ;) (expression_statement "iVar24 = 0;" (assignment_expression "iVar24 = 0" identifier = number_literal) ;) (expression_statement "pPVar32 = pIVar5->colormap;" (assignment_expression "pPVar32 = pIVar5->colormap" identifier = (field_expression "pIVar5->colormap" identifier -> field_identifier)) ;) (expression_statement "pPVar41 = pIVar5->channel_map;" (assignment_expression "pPVar41 = pIVar5->channel_map" identifier = (field_expression "pIVar5->channel_map" identifier -> field_identifier)) ;) }))))) (expression_statement "PVar9 = pPVar41[4].traits;" (assignment_expression "PVar9 = pPVar41[4].traits" identifier = (field_expression "pPVar41[4].traits" (subscript_expression "pPVar41[4]" identifier [ number_literal ]) . field_identifier)) ;) (expression_statement "unaff_s8 = pbVar14 + 4;" (assignment_expression "unaff_s8 = pbVar14 + 4" identifier = (binary_expression "pbVar14 + 4" identifier + number_literal)) ;) (expression_statement "*(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24);" (assignment_expression "*(float *)(iVar13 + pPVar41[2].offset * 4) =\n                           (float)*(double *)((int)&pPVar32->blue + iVar24)" (pointer_expression "*(float *)(iVar13 + pPVar41[2].offset * 4)" * (cast_expression "(float *)(iVar13 + pPVar41[2].offset * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + pPVar41[2].offset * 4)" ( (binary_expression "iVar13 + pPVar41[2].offset * 4" identifier + (binary_expression "pPVar41[2].offset * 4" (field_expression "pPVar41[2].offset" (subscript_expression "pPVar41[2]" identifier [ number_literal ]) . field_identifier) * number_literal)) )))) = (cast_expression "(float)*(double *)((int)&pPVar32->blue + iVar24)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)((int)&pPVar32->blue + iVar24)" * (cast_expression "(double *)((int)&pPVar32->blue + iVar24)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((int)&pPVar32->blue + iVar24)" ( (binary_expression "(int)&pPVar32->blue + iVar24" (cast_expression "(int)&pPVar32->blue" ( (type_descriptor "int" primitive_type) ) (pointer_expression "&pPVar32->blue" & (field_expression "pPVar32->blue" identifier -> field_identifier))) + identifier) )))))) ;) (if_statement "if (PVar9 != UndefinedPixelTrait) {\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }" if (parenthesized_expression "(PVar9 != UndefinedPixelTrait)" ( (binary_expression "PVar9 != UndefinedPixelTrait" identifier != identifier) )) (compound_statement "{\n                        *(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);\n                      }" { (expression_statement "*(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50);" (assignment_expression "*(float *)(iVar13 + pPVar41[4].offset * 4) =\n                             (float)((double)pbVar14[3] * dVar50)" (pointer_expression "*(float *)(iVar13 + pPVar41[4].offset * 4)" * (cast_expression "(float *)(iVar13 + pPVar41[4].offset * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar13 + pPVar41[4].offset * 4)" ( (binary_expression "iVar13 + pPVar41[4].offset * 4" identifier + (binary_expression "pPVar41[4].offset * 4" (field_expression "pPVar41[4].offset" (subscript_expression "pPVar41[4]" identifier [ number_literal ]) . field_identifier) * number_literal)) )))) = (cast_expression "(float)((double)pbVar14[3] * dVar50)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar14[3] * dVar50)" ( (binary_expression "(double)pbVar14[3] * dVar50" (cast_expression "(double)pbVar14[3]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar14[3]" identifier [ number_literal ])) * identifier) )))) ;) })) (expression_statement "iVar18 = iVar18 + 1;" (assignment_expression "iVar18 = iVar18 + 1" identifier = (binary_expression "iVar18 + 1" identifier + number_literal)) ;) (expression_statement "iVar13 = iVar13 + pIVar5->number_channels * 4;" (assignment_expression "iVar13 = iVar13 + pIVar5->number_channels * 4" identifier = (binary_expression "iVar13 + pIVar5->number_channels * 4" identifier + (binary_expression "pIVar5->number_channels * 4" (field_expression "pIVar5->number_channels" identifier -> field_identifier) * number_literal))) ;) (expression_statement "pbVar14 = unaff_s8;" (assignment_expression "pbVar14 = unaff_s8" identifier = identifier) ;) }) while (parenthesized_expression "(iVar18 < (int)pIVar5->columns)" ( (binary_expression "iVar18 < (int)pIVar5->columns" identifier < (cast_expression "(int)pIVar5->columns" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar5->columns" identifier -> field_identifier))) )) ;) })) (expression_statement "iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception);" (assignment_expression "iVar13 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception)" identifier = (call_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)(pIVar5,exception)" (parenthesized_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)" ( (pointer_expression "*(code *)PTR_SyncAuthenticPixels_003a91e4" * (cast_expression "(code *)PTR_SyncAuthenticPixels_003a91e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,exception)" ( identifier , identifier )))) ;) (if_statement "if (iVar13 == 0) break;" if (parenthesized_expression "(iVar13 == 0)" ( (binary_expression "iVar13 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "sVar8 = pIVar5->rows;" (assignment_expression "sVar8 = pIVar5->rows" identifier = (field_expression "pIVar5->rows" identifier -> field_identifier)) ;) (if_statement "if (pIVar5->previous == (_Image *)0x0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }" if (parenthesized_expression "(pIVar5->previous == (_Image *)0x0)" ( (binary_expression "pIVar5->previous == (_Image *)0x0" (field_expression "pIVar5->previous" identifier -> field_identifier) == (cast_expression "(_Image *)0x0" ( (type_descriptor "_Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);\n                    if (local_164 == 0) break;\n                    sVar8 = pIVar5->rows;\n                  }" { (expression_statement "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8);" (assignment_expression "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8)" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8)" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar10,0,sVar8)" ( identifier , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0" identifier + number_literal) , identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (local_164 == 0) break;" if (parenthesized_expression "(local_164 == 0)" ( (binary_expression "local_164 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "sVar8 = pIVar5->rows;" (assignment_expression "sVar8 = pIVar5->rows" identifier = (field_expression "pIVar5->rows" identifier -> field_identifier)) ;) })) (expression_statement "uVar12 = uVar10 + 1;" (assignment_expression "uVar12 = uVar10 + 1" identifier = (binary_expression "uVar10 + 1" identifier + number_literal)) ;) (expression_statement "local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0);" (assignment_expression "local_1a0 = (byte *)((uint)(uVar12 < uVar10) + (int)local_1a0)" identifier = (cast_expression "(byte *)((uint)(uVar12 < uVar10) + (int)local_1a0)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(uVar12 < uVar10) + (int)local_1a0)" ( (binary_expression "(uint)(uVar12 < uVar10) + (int)local_1a0" (call_expression "(uint)(uVar12 < uVar10)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar12 < uVar10)" ( (binary_expression "uVar12 < uVar10" identifier < identifier) ))) + (cast_expression "(int)local_1a0" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "uVar10 = uVar12;" (assignment_expression "uVar10 = uVar12" identifier = identifier) ;) }) while (parenthesized_expression "((int)uVar12 < (int)sVar8)" ( (binary_expression "(int)uVar12 < (int)sVar8" (cast_expression "(int)uVar12" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)sVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) })) (expression_statement "pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap);" (assignment_expression "pPVar32 = (PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap)" identifier = (cast_expression "(PixelInfo *)\n                        (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap)" ( (type_descriptor "PixelInfo *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(pIVar5->colormap)" (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 "(pIVar5->colormap)" ( (field_expression "pIVar5->colormap" identifier -> field_identifier) ))))) ;) (expression_statement "pIVar5->colormap = pPVar32;" (assignment_expression "pIVar5->colormap = pPVar32" (field_expression "pIVar5->colormap" identifier -> field_identifier) = identifier) ;) (expression_statement "pIVar5->colors = 0;" (assignment_expression "pIVar5->colors = 0" (field_expression "pIVar5->colors" identifier -> field_identifier) = number_literal) ;) (expression_statement "pIVar5->storage_class = DirectClass;" (assignment_expression "pIVar5->storage_class = DirectClass" (field_expression "pIVar5->storage_class" identifier -> field_identifier) = identifier) ;) }))) (labeled_statement "LAB_002a5fb4:\n            if (uVar11 == 0) goto LAB_002a5fc4;" statement_identifier : (if_statement "if (uVar11 == 0) goto LAB_002a5fc4;" if (parenthesized_expression "(uVar11 == 0)" ( (binary_expression "uVar11 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002a5fc4;" goto statement_identifier ;))) }) (else_clause "else {\n            if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }\n            sVar8 = pIVar5->rows;\nLAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;\n          }" else (compound_statement "{\n            if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }\n            sVar8 = pIVar5->rows;\nLAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;\n          }" { (if_statement "if (uVar42 < 3) {\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }" if (parenthesized_expression "(uVar42 < 3)" ( (binary_expression "uVar42 < 3" identifier < number_literal) )) (compound_statement "{\n              if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }" { (if_statement "if ((int)uVar10 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }" if (parenthesized_expression "((int)uVar10 < (int)local_17c)" ( (binary_expression "(int)uVar10 < (int)local_17c" (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)local_17c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);\n                pcVar19 = image_info->filename;\n                uVar40 = 0x21a;\n                puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar22 = 0x1a9;\n                goto LAB_002a5e2c;\n              }" { (labeled_statement "LAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }" statement_identifier : (if_statement "if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) }))) (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6)" ( identifier ))) ;) (expression_statement "pcVar19 = image_info->filename;" (assignment_expression "pcVar19 = image_info->filename" identifier = (field_expression "image_info->filename" identifier -> field_identifier)) ;) (expression_statement "uVar40 = 0x21a;" (assignment_expression "uVar40 = 0x21a" identifier = number_literal) ;) (expression_statement "puVar20 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar20 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;" (assignment_expression "puVar21 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc" identifier + number_literal)) ;) (expression_statement "uVar22 = 0x1a9;" (assignment_expression "uVar22 = 0x1a9" identifier = number_literal) ;) (goto_statement "goto LAB_002a5e2c;" goto statement_identifier ;) })) (goto_statement "goto LAB_002a6aa4;" goto statement_identifier ;) })) (if_statement "if (uVar11 == 2) {\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }" if (parenthesized_expression "(uVar11 == 2)" ( (binary_expression "uVar11 == 2" identifier == number_literal) )) (compound_statement "{\n              if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;\n            }" { (if_statement "if ((int)uVar10 < (int)local_17c) goto LAB_002a74c4;" if (parenthesized_expression "((int)uVar10 < (int)local_17c)" ( (binary_expression "(int)uVar10 < (int)local_17c" (cast_expression "(int)uVar10" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)local_17c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_002a74c4;" goto statement_identifier ;)) }) (else_clause "else if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }" else (if_statement "if (0 < (int)local_17c) {\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }" if (parenthesized_expression "(0 < (int)local_17c)" ( (binary_expression "0 < (int)local_17c" number_literal < (cast_expression "(int)local_17c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n              uVar10 = 1;\n              if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }\n              uVar12 = 0;\n              puVar35 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar26 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar14 = pbVar17;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);\n            }" { (expression_statement "uVar10 = 1;" (assignment_expression "uVar10 = 1" identifier = number_literal) ;) (if_statement "if (0 < (int)uVar42) {\n                uVar10 = uVar42;\n              }" if (parenthesized_expression "(0 < (int)uVar42)" ( (binary_expression "0 < (int)uVar42" number_literal < (cast_expression "(int)uVar42" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                uVar10 = uVar42;\n              }" { (expression_statement "uVar10 = uVar42;" (assignment_expression "uVar10 = uVar42" identifier = identifier) ;) })) (expression_statement "uVar12 = 0;" (assignment_expression "uVar12 = 0" identifier = number_literal) ;) (expression_statement "puVar35 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar35 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990;" (assignment_expression "puVar39 = PTR_s_t_to_left_003a88e4 + -0x5990" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x5990" identifier + number_literal)) ;) (expression_statement "puVar26 = PTR_s_courses_003a88ec + 0x6f4;" (assignment_expression "puVar26 = PTR_s_courses_003a88ec + 0x6f4" identifier = (binary_expression "PTR_s_courses_003a88ec + 0x6f4" identifier + number_literal)) ;) (expression_statement "pbVar14 = pbVar17;" (assignment_expression "pbVar14 = pbVar17" identifier = identifier) ;) (do_statement "do {\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              } while (uVar12 != local_17c);" do (compound_statement "{\n                unaff_s8 = (byte *)0x0;\n                pbVar23 = pbVar14;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);\n                pbVar14 = pbVar14 + uVar10;\n                uVar12 = uVar12 + 1;\n              }" { (expression_statement "unaff_s8 = (byte *)0x0;" (assignment_expression "unaff_s8 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pbVar23 = pbVar14;" (assignment_expression "pbVar23 = pbVar14" identifier = identifier) ;) (do_statement "do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                } while ((int)pbVar44 - (int)pbVar14 < (int)uVar42);" do (compound_statement "{\n                  if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }\n                  pbVar44 = pbVar23 + 1;\n                  *pbVar23 = *pbVar37;\n                  unaff_s8 = unaff_s8 + uVar29;\n                  pbVar23 = pbVar44;\n                }" { (if_statement "if ((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors) {\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }\n                  else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }" if (parenthesized_expression "((int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors)" ( (binary_expression "(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)) < (int)pIVar5->colors" (cast_expression "(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1))" ( (binary_expression "unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)" identifier + (parenthesized_expression "((uint)*pbVar23 & uVar29 - 1)" ( (binary_expression "(uint)*pbVar23 & uVar29 - 1" (binary_expression "(uint)*pbVar23" (parenthesized_expression "(uint)" ( identifier )) * identifier) & (binary_expression "uVar29 - 1" identifier - number_literal)) ))) ))) < (cast_expression "(int)pIVar5->colors" ( (type_descriptor "int" primitive_type) ) (field_expression "pIVar5->colors" identifier -> field_identifier))) )) (compound_statement "{\n                    pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));\n                  }" { (expression_statement "pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1));" (assignment_expression "pbVar37 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1))" identifier = (binary_expression "local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1))" identifier + (cast_expression "(int)(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1))" ( (type_descriptor "int" primitive_type) ) (cast_expression "(float)(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1))" ( (type_descriptor "float" primitive_type) ) (cast_expression "(int)(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(unaff_s8 + ((uint)*pbVar23 & uVar29 - 1))" ( (binary_expression "unaff_s8 + ((uint)*pbVar23 & uVar29 - 1)" identifier + (parenthesized_expression "((uint)*pbVar23 & uVar29 - 1)" ( (binary_expression "(uint)*pbVar23 & uVar29 - 1" (binary_expression "(uint)*pbVar23" (parenthesized_expression "(uint)" ( identifier )) * identifier) & (binary_expression "uVar29 - 1" identifier - number_literal)) ))) ))))))) ;) }) (else_clause "else {\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }" else (compound_statement "{\n                    pbVar37 = local_178;\n                    if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }\n                  }" { (expression_statement "pbVar37 = local_178;" (assignment_expression "pbVar37 = local_178" identifier = identifier) ;) (if_statement "if (exception->severity != CorruptImageError) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }" if (parenthesized_expression "(exception->severity != CorruptImageError)" ( (binary_expression "exception->severity != CorruptImageError" (field_expression "exception->severity" identifier -> field_identifier) != identifier) )) (compound_statement "{\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);\n                    }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                (exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(exception,puVar26,puVar21 + 0x25ac,0x30,0x1a9,puVar39,puVar35,\n                                 pIVar5->filename)" ( identifier , identifier , (binary_expression "puVar21 + 0x25ac" identifier + number_literal) , number_literal , number_literal , identifier , identifier , (field_expression "pIVar5->filename" identifier -> field_identifier) ))) ;) })) }))) (expression_statement "pbVar44 = pbVar23 + 1;" (assignment_expression "pbVar44 = pbVar23 + 1" identifier = (binary_expression "pbVar23 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar23 = *pbVar37;" (assignment_expression "*pbVar23 = *pbVar37" (pointer_expression "*pbVar23" * identifier) = (pointer_expression "*pbVar37" * identifier)) ;) (expression_statement "unaff_s8 = unaff_s8 + uVar29;" (assignment_expression "unaff_s8 = unaff_s8 + uVar29" identifier = (binary_expression "unaff_s8 + uVar29" identifier + identifier)) ;) (expression_statement "pbVar23 = pbVar44;" (assignment_expression "pbVar23 = pbVar44" identifier = identifier) ;) }) while (parenthesized_expression "((int)pbVar44 - (int)pbVar14 < (int)uVar42)" ( (binary_expression "(int)pbVar44 - (int)pbVar14 < (int)uVar42" (binary_expression "(int)pbVar44 - (int)pbVar14" (cast_expression "(int)pbVar44" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar14" ( (type_descriptor "int" primitive_type) ) identifier)) < (cast_expression "(int)uVar42" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) (expression_statement "pbVar14 = pbVar14 + uVar10;" (assignment_expression "pbVar14 = pbVar14 + uVar10" identifier = (binary_expression "pbVar14 + uVar10" identifier + identifier)) ;) (expression_statement "uVar12 = uVar12 + 1;" (assignment_expression "uVar12 = uVar12 + 1" identifier = (binary_expression "uVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar12 != local_17c)" ( (binary_expression "uVar12 != local_17c" identifier != identifier) )) ;) })))) (expression_statement "sVar8 = pIVar5->rows;" (assignment_expression "sVar8 = pIVar5->rows" identifier = (field_expression "pIVar5->rows" identifier -> field_identifier)) ;) (labeled_statement "LAB_002a5bd4:\n            if (0 < (int)sVar8) goto LAB_002a5be0;" statement_identifier : (if_statement "if (0 < (int)sVar8) goto LAB_002a5be0;" if (parenthesized_expression "(0 < (int)sVar8)" ( (binary_expression "0 < (int)sVar8" number_literal < (cast_expression "(int)sVar8" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_002a5be0;" goto statement_identifier ;))) }))) (expression_statement "local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);" (assignment_expression "local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" identifier = (cast_expression "(byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (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 "(local_178)" ( identifier ))))) ;) }))) (labeled_statement "LAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);" statement_identifier : (expression_statement "local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6);" (assignment_expression "local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6)" identifier = (cast_expression "(byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar6)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar6)" ( identifier ))))) ;)) (expression_statement "iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5);" (assignment_expression "iVar6 = (*(code *)PTR_EOFBlob_003a9748)(pIVar5)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(pIVar5)" (parenthesized_expression "(*(code *)PTR_EOFBlob_003a9748)" ( (pointer_expression "*(code *)PTR_EOFBlob_003a9748" * (cast_expression "(code *)PTR_EOFBlob_003a9748" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (expression_statement "pbVar14 = unaff_s8;" (assignment_expression "pbVar14 = unaff_s8" identifier = identifier) ;) (if_statement "if (iVar6 != 0) {\n          puVar27 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar40 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar27);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,pIVar5->filename,\n                     uVar40);\n          (*(code *)PTR_DestroyString_003a9074)(uVar40);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }" if (parenthesized_expression "(iVar6 != 0)" ( (binary_expression "iVar6 != 0" identifier != number_literal) )) (compound_statement "{\n          puVar27 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar40 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar27);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,pIVar5->filename,\n                     uVar40);\n          (*(code *)PTR_DestroyString_003a9074)(uVar40);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }" { (expression_statement "puVar27 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar27 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar40 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar27);" (assignment_expression "uVar40 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar27)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar27)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" * (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar27)" ( (pointer_expression "*puVar27" * identifier) )))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                    (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,pIVar5->filename,\n                     uVar40);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                    (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,pIVar5->filename,\n                     uVar40)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,pIVar5->filename,\n                     uVar40)" ( identifier , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_courses_003a88ec + -0x17c" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0xe78" identifier + number_literal) , (field_expression "pIVar5->filename" identifier -> field_identifier) , identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar40);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar40)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar40)" ( identifier ))) ;) (labeled_statement "LAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);" statement_identifier : (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(pIVar5);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(pIVar5)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier ))) ;)) (if_statement "if (local_164 != 0) goto LAB_002a56b8;" if (parenthesized_expression "(local_164 != 0)" ( (binary_expression "local_164 != 0" identifier != number_literal) )) (goto_statement "goto LAB_002a56b8;" goto statement_identifier ;)) (goto_statement "goto LAB_002a57d0;" goto statement_identifier ;) })) (if_statement "if ((image_info->number_scenes != 0) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene))\n        goto LAB_002a6040;" if (parenthesized_expression "((image_info->number_scenes != 0) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene))" ( (binary_expression "(image_info->number_scenes != 0) &&\n           ((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene)" (parenthesized_expression "(image_info->number_scenes != 0)" ( (binary_expression "image_info->number_scenes != 0" (field_expression "image_info->number_scenes" identifier -> field_identifier) != number_literal) )) && (parenthesized_expression "((image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene)" ( (binary_expression "(image_info->number_scenes + image_info->scene) - 1 <= pIVar5->scene" (binary_expression "(image_info->number_scenes + image_info->scene) - 1" (parenthesized_expression "(image_info->number_scenes + image_info->scene)" ( (binary_expression "image_info->number_scenes + image_info->scene" (field_expression "image_info->number_scenes" identifier -> field_identifier) + (field_expression "image_info->scene" identifier -> field_identifier)) )) - number_literal) <= (field_expression "pIVar5->scene" identifier -> field_identifier)) ))) )) (goto_statement "goto LAB_002a6040;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5);" (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(pIVar5)" (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 "(pIVar5)" ( identifier ))) ;) (expression_statement "iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick);" (assignment_expression "iVar6 = (*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick)" identifier = (call_expression "(*(code *)PTR_ReadBlob_003a8dac)(pIVar5,2,magick)" (parenthesized_expression "(*(code *)PTR_ReadBlob_003a8dac)" ( (pointer_expression "*(code *)PTR_ReadBlob_003a8dac" * (cast_expression "(code *)PTR_ReadBlob_003a8dac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,2,magick)" ( identifier , number_literal , identifier )))) ;) (if_statement "if ((iVar6 == 0) || (magick._0_2_ != 0x52cc)) goto LAB_002a6040;" if (parenthesized_expression "((iVar6 == 0) || (magick._0_2_ != 0x52cc))" ( (binary_expression "(iVar6 == 0) || (magick._0_2_ != 0x52cc)" (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) || (parenthesized_expression "(magick._0_2_ != 0x52cc)" ( (binary_expression "magick._0_2_ != 0x52cc" (field_expression "magick._0_2_" identifier . field_identifier) != number_literal) ))) )) (goto_statement "goto LAB_002a6040;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_AcquireNextImage_003a8f90)(image_info,pIVar5,exception);" (call_expression "(*(code *)PTR_AcquireNextImage_003a8f90)(image_info,pIVar5,exception)" (parenthesized_expression "(*(code *)PTR_AcquireNextImage_003a8f90)" ( (pointer_expression "*(code *)PTR_AcquireNextImage_003a8f90" * (cast_expression "(code *)PTR_AcquireNextImage_003a8f90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(image_info,pIVar5,exception)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar6 = (*(code *)PTR_GetNextImageInList_003a9470)(pIVar5);" (assignment_expression "iVar6 = (*(code *)PTR_GetNextImageInList_003a9470)(pIVar5)" identifier = (call_expression "(*(code *)PTR_GetNextImageInList_003a9470)(pIVar5)" (parenthesized_expression "(*(code *)PTR_GetNextImageInList_003a9470)" ( (pointer_expression "*(code *)PTR_GetNextImageInList_003a9470" * (cast_expression "(code *)PTR_GetNextImageInList_003a9470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (if_statement "if (iVar6 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          goto LAB_002a57d0;\n        }" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);\n          goto LAB_002a57d0;\n        }" { (labeled_statement "LAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(pIVar5);" statement_identifier : (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(pIVar5);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(pIVar5)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier ))) ;)) (goto_statement "goto LAB_002a57d0;" goto statement_identifier ;) })) (expression_statement "pIVar5 = (Image *)(*(code *)PTR_SyncNextImageInList_003a9408)(pIVar5);" (assignment_expression "pIVar5 = (Image *)(*(code *)PTR_SyncNextImageInList_003a9408)(pIVar5)" identifier = (cast_expression "(Image *)(*(code *)PTR_SyncNextImageInList_003a9408)(pIVar5)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_SyncNextImageInList_003a9408)(pIVar5)" (parenthesized_expression "(*(code *)PTR_SyncNextImageInList_003a9408)" ( (pointer_expression "*(code *)PTR_SyncNextImageInList_003a9408" * (cast_expression "(code *)PTR_SyncNextImageInList_003a9408" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier ))))) ;) (expression_statement "uVar52 = (*(code *)PTR_TellBlob_003a931c)(pIVar5);" (assignment_expression "uVar52 = (*(code *)PTR_TellBlob_003a931c)(pIVar5)" identifier = (call_expression "(*(code *)PTR_TellBlob_003a931c)(pIVar5)" (parenthesized_expression "(*(code *)PTR_TellBlob_003a931c)" ( (pointer_expression "*(code *)PTR_TellBlob_003a931c" * (cast_expression "(code *)PTR_TellBlob_003a931c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (expression_statement "uVar53 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5);" (assignment_expression "uVar53 = (*(code *)PTR_GetBlobSize_003a94b8)(pIVar5)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(pIVar5)" (parenthesized_expression "(*(code *)PTR_GetBlobSize_003a94b8)" ( (pointer_expression "*(code *)PTR_GetBlobSize_003a94b8" * (cast_expression "(code *)PTR_GetBlobSize_003a94b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier )))) ;) (expression_statement "iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (pIVar5,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar52 >> 0x20),\n                           (int)uVar52,uVar53);" (assignment_expression "iVar6 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (pIVar5,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar52 >> 0x20),\n                           (int)uVar52,uVar53)" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                          (pIVar5,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar52 >> 0x20),\n                           (int)uVar52,uVar53)" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar52 >> 0x20),\n                           (int)uVar52,uVar53)" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x168" identifier + number_literal) , (cast_expression "(int)((ulonglong)uVar52 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar52 >> 0x20)" ( (binary_expression "(ulonglong)uVar52 >> 0x20" (cast_expression "(ulonglong)uVar52" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) , (cast_expression "(int)uVar52" ( (type_descriptor "int" primitive_type) ) identifier) , identifier )))) ;) (if_statement "if (iVar6 == 0) goto LAB_002a74b0;" if (parenthesized_expression "(iVar6 == 0)" ( (binary_expression "iVar6 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002a74b0;" goto statement_identifier ;)) }) while (parenthesized_expression "(magick._0_2_ == 0x52cc)" ( (binary_expression "magick._0_2_ == 0x52cc" (field_expression "magick._0_2_" identifier . field_identifier) == number_literal) )) ;) (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(pIVar5);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(pIVar5)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier ))) ;) (labeled_statement "LAB_002a56b8:\n      pIVar5 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(pIVar5);" statement_identifier : (expression_statement "pIVar5 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(pIVar5);" (assignment_expression "pIVar5 = (Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(pIVar5)" identifier = (cast_expression "(Image *)(*(code *)PTR_GetFirstImageInList_003a944c)(pIVar5)" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetFirstImageInList_003a944c)(pIVar5)" (parenthesized_expression "(*(code *)PTR_GetFirstImageInList_003a944c)" ( (pointer_expression "*(code *)PTR_GetFirstImageInList_003a944c" * (cast_expression "(code *)PTR_GetFirstImageInList_003a944c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar5)" ( identifier ))))) ;)) }) (else_clause "else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);\n      pIVar45 = pIVar5;\n      if (pIVar5 != (Image *)0x0) goto LAB_002a5728;\n    }" else (compound_statement "{\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);\n      pIVar45 = pIVar5;\n      if (pIVar5 != (Image *)0x0) goto LAB_002a5728;\n    }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(exception,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,image_info->filename)" ( identifier , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_courses_003a88ec + -400" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (field_expression "image_info->filename" identifier -> field_identifier) ))) ;) (expression_statement "pIVar45 = pIVar5;" (assignment_expression "pIVar45 = pIVar5" identifier = identifier) ;) (if_statement "if (pIVar5 != (Image *)0x0) goto LAB_002a5728;" if (parenthesized_expression "(pIVar5 != (Image *)0x0)" ( (binary_expression "pIVar5 != (Image *)0x0" identifier != (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_002a5728;" goto statement_identifier ;)) }))) }))) (while_statement "while (iVar4 != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    pcVar19 = local_188->filename;\n    uVar40 = 0x143;\nLAB_002a6244:\n    puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar21 = PTR_s_courses_003a88ec + -0x17c;\n    uVar22 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar35,puVar39,uVar40,uVar22,puVar21,puVar20,pcVar19);\n    pIVar45 = pIVar5;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(pIVar45);\n    pIVar5 = (Image *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(pIVar45);\n  }" while (parenthesized_expression "(iVar4 != *(int *)puVar3)" ( (binary_expression "iVar4 != *(int *)puVar3" identifier != (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    pcVar19 = local_188->filename;\n    uVar40 = 0x143;\nLAB_002a6244:\n    puVar20 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar21 = PTR_s_courses_003a88ec + -0x17c;\n    uVar22 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar35,puVar39,uVar40,uVar22,puVar21,puVar20,pcVar19);\n    pIVar45 = pIVar5;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(pIVar45);\n    pIVar5 = (Image *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(pIVar45);\n  }" { (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 "()" ( ))) ;) (labeled_statement "LAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);" statement_identifier : (expression_statement "(*(code *)PTR_DestroyString_003a9074)(unaff_s8);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(unaff_s8)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s8)" ( identifier ))) ;)) (if_statement "if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "pcVar19 = local_188->filename;" (assignment_expression "pcVar19 = local_188->filename" identifier = (field_expression "local_188->filename" identifier -> field_identifier)) ;) (expression_statement "uVar40 = 0x143;" (assignment_expression "uVar40 = 0x143" identifier = number_literal) ;) (labeled_statement "LAB_002a6244:\n    puVar20 = PTR_LAB_003a88e0 + 0x3e28;" statement_identifier : (expression_statement "puVar20 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar20 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;)) (expression_statement "puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar39 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar35 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar21 = PTR_s_courses_003a88ec + -0x17c;" (assignment_expression "puVar21 = PTR_s_courses_003a88ec + -0x17c" identifier = (binary_expression "PTR_s_courses_003a88ec + -0x17c" identifier + number_literal)) ;) (expression_statement "uVar22 = 0x1a9;" (assignment_expression "uVar22 = 0x1a9" identifier = number_literal) ;) (labeled_statement "LAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar35,puVar39,uVar40,uVar22,puVar21,puVar20,pcVar19);" statement_identifier : (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar35,puVar39,uVar40,uVar22,puVar21,puVar20,pcVar19);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar35,puVar39,uVar40,uVar22,puVar21,puVar20,pcVar19)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18c,puVar35,puVar39,uVar40,uVar22,puVar21,puVar20,pcVar19)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;)) (expression_statement "pIVar45 = pIVar5;" (assignment_expression "pIVar45 = pIVar5" identifier = identifier) ;) (labeled_statement "LAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(pIVar45);" statement_identifier : (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(pIVar45);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(pIVar45)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar45)" ( identifier ))) ;)) (expression_statement "pIVar5 = (Image *)0x0;" (assignment_expression "pIVar5 = (Image *)0x0" identifier = (cast_expression "(Image *)0x0" ( (type_descriptor "Image *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_DestroyImageList_003a9510)(pIVar45);" (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(pIVar45)" (parenthesized_expression "(*(code *)PTR_DestroyImageList_003a9510)" ( (pointer_expression "*(code *)PTR_DestroyImageList_003a9510" * (cast_expression "(code *)PTR_DestroyImageList_003a9510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pIVar45)" ( identifier ))) ;) })) (return_statement "return pIVar5;" return identifier ;) })))
(translation_unit "undefined4 * FUN_002a5290(int param_1,int *param_2)\n\n{\n  ulonglong uVar1;\n  ulonglong uVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  byte *pbVar12;\n  uint uVar13;\n  uint uVar14;\n  byte *pbVar15;\n  byte bVar23;\n  undefined *puVar16;\n  undefined *puVar17;\n  undefined4 uVar18;\n  byte *pbVar19;\n  double *pdVar20;\n  undefined *puVar21;\n  undefined4 *puVar22;\n  uint uVar24;\n  int iVar25;\n  int iVar26;\n  float *pfVar27;\n  float *pfVar28;\n  undefined *puVar29;\n  byte *pbVar30;\n  byte *pbVar31;\n  float *pfVar32;\n  undefined *puVar33;\n  int iVar34;\n  int iVar35;\n  int iVar36;\n  int iVar37;\n  uint uVar38;\n  uint uVar39;\n  byte *pbVar40;\n  byte *unaff_s8;\n  double dVar41;\n  double dVar42;\n  double dVar43;\n  double dVar44;\n  double dVar45;\n  longlong lVar46;\n  undefined8 uVar47;\n  undefined8 uVar48;\n  byte *local_1a0;\n  int *local_18c;\n  int local_188;\n  int local_180;\n  uint local_17c;\n  byte *local_178;\n  int local_164;\n  short local_158 [6];\n  byte local_14c [256];\n  int local_4c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  local_4c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == 0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (*(int *)(param_1 + 0x3210) != 0) {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n  }\n  if (param_2 == (int *)0x0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (param_2[7] != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  puVar4 = (undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n  iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2);\n  pbVar12 = unaff_s8;\n  if (iVar5 == 0) {\nLAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);\n    unaff_s8 = pbVar12;\n  }\n  else {\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }\n  while (local_4c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    param_1 = local_188 + 0x2210;\n    uVar6 = 0x143;\nLAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar17 = PTR_s_courses_003a88ec + -0x17c;\n    uVar18 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);\n    puVar22 = puVar4;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);\n    puVar4 = (undefined4 *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(puVar22);\n  }\n  return puVar4;\n}\n\n" (function_definition "undefined4 * FUN_002a5290(int param_1,int *param_2)\n\n{\n  ulonglong uVar1;\n  ulonglong uVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  byte *pbVar12;\n  uint uVar13;\n  uint uVar14;\n  byte *pbVar15;\n  byte bVar23;\n  undefined *puVar16;\n  undefined *puVar17;\n  undefined4 uVar18;\n  byte *pbVar19;\n  double *pdVar20;\n  undefined *puVar21;\n  undefined4 *puVar22;\n  uint uVar24;\n  int iVar25;\n  int iVar26;\n  float *pfVar27;\n  float *pfVar28;\n  undefined *puVar29;\n  byte *pbVar30;\n  byte *pbVar31;\n  float *pfVar32;\n  undefined *puVar33;\n  int iVar34;\n  int iVar35;\n  int iVar36;\n  int iVar37;\n  uint uVar38;\n  uint uVar39;\n  byte *pbVar40;\n  byte *unaff_s8;\n  double dVar41;\n  double dVar42;\n  double dVar43;\n  double dVar44;\n  double dVar45;\n  longlong lVar46;\n  undefined8 uVar47;\n  undefined8 uVar48;\n  byte *local_1a0;\n  int *local_18c;\n  int local_188;\n  int local_180;\n  uint local_17c;\n  byte *local_178;\n  int local_164;\n  short local_158 [6];\n  byte local_14c [256];\n  int local_4c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  local_4c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == 0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (*(int *)(param_1 + 0x3210) != 0) {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n  }\n  if (param_2 == (int *)0x0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (param_2[7] != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  puVar4 = (undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n  iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2);\n  pbVar12 = unaff_s8;\n  if (iVar5 == 0) {\nLAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);\n    unaff_s8 = pbVar12;\n  }\n  else {\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }\n  while (local_4c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    param_1 = local_188 + 0x2210;\n    uVar6 = 0x143;\nLAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar17 = PTR_s_courses_003a88ec + -0x17c;\n    uVar18 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);\n    puVar22 = puVar4;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);\n    puVar4 = (undefined4 *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(puVar22);\n  }\n  return puVar4;\n}" type_identifier (pointer_declarator "* FUN_002a5290(int param_1,int *param_2)" * (function_declarator "FUN_002a5290(int param_1,int *param_2)" identifier (parameter_list "(int param_1,int *param_2)" ( (parameter_declaration "int param_1" primitive_type identifier) , (parameter_declaration "int *param_2" primitive_type (pointer_declarator "*param_2" * identifier)) )))) (compound_statement "{\n  ulonglong uVar1;\n  ulonglong uVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  byte *pbVar12;\n  uint uVar13;\n  uint uVar14;\n  byte *pbVar15;\n  byte bVar23;\n  undefined *puVar16;\n  undefined *puVar17;\n  undefined4 uVar18;\n  byte *pbVar19;\n  double *pdVar20;\n  undefined *puVar21;\n  undefined4 *puVar22;\n  uint uVar24;\n  int iVar25;\n  int iVar26;\n  float *pfVar27;\n  float *pfVar28;\n  undefined *puVar29;\n  byte *pbVar30;\n  byte *pbVar31;\n  float *pfVar32;\n  undefined *puVar33;\n  int iVar34;\n  int iVar35;\n  int iVar36;\n  int iVar37;\n  uint uVar38;\n  uint uVar39;\n  byte *pbVar40;\n  byte *unaff_s8;\n  double dVar41;\n  double dVar42;\n  double dVar43;\n  double dVar44;\n  double dVar45;\n  longlong lVar46;\n  undefined8 uVar47;\n  undefined8 uVar48;\n  byte *local_1a0;\n  int *local_18c;\n  int local_188;\n  int local_180;\n  uint local_17c;\n  byte *local_178;\n  int local_164;\n  short local_158 [6];\n  byte local_14c [256];\n  int local_4c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  local_4c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == 0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (*(int *)(param_1 + 0x3210) != 0) {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n  }\n  if (param_2 == (int *)0x0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (param_2[7] != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  puVar4 = (undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n  iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2);\n  pbVar12 = unaff_s8;\n  if (iVar5 == 0) {\nLAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);\n    unaff_s8 = pbVar12;\n  }\n  else {\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }\n  while (local_4c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    param_1 = local_188 + 0x2210;\n    uVar6 = 0x143;\nLAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar17 = PTR_s_courses_003a88ec + -0x17c;\n    uVar18 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);\n    puVar22 = puVar4;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);\n    puVar4 = (undefined4 *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(puVar22);\n  }\n  return puVar4;\n}" { (declaration "ulonglong uVar1;" type_identifier identifier ;) (declaration "ulonglong uVar2;" type_identifier identifier ;) (declaration "undefined *puVar3;" type_identifier (pointer_declarator "*puVar3" * identifier) ;) (declaration "undefined4 *puVar4;" type_identifier (pointer_declarator "*puVar4" * identifier) ;) (declaration "int iVar5;" primitive_type identifier ;) (declaration "undefined4 uVar6;" type_identifier identifier ;) (declaration "uint uVar7;" type_identifier identifier ;) (declaration "uint uVar8;" type_identifier identifier ;) (declaration "uint uVar9;" type_identifier identifier ;) (declaration "uint uVar10;" type_identifier identifier ;) (declaration "int iVar11;" primitive_type identifier ;) (declaration "byte *pbVar12;" type_identifier (pointer_declarator "*pbVar12" * identifier) ;) (declaration "uint uVar13;" type_identifier identifier ;) (declaration "uint uVar14;" type_identifier identifier ;) (declaration "byte *pbVar15;" type_identifier (pointer_declarator "*pbVar15" * identifier) ;) (declaration "byte bVar23;" type_identifier identifier ;) (declaration "undefined *puVar16;" type_identifier (pointer_declarator "*puVar16" * identifier) ;) (declaration "undefined *puVar17;" type_identifier (pointer_declarator "*puVar17" * identifier) ;) (declaration "undefined4 uVar18;" type_identifier identifier ;) (declaration "byte *pbVar19;" type_identifier (pointer_declarator "*pbVar19" * identifier) ;) (declaration "double *pdVar20;" primitive_type (pointer_declarator "*pdVar20" * identifier) ;) (declaration "undefined *puVar21;" type_identifier (pointer_declarator "*puVar21" * identifier) ;) (declaration "undefined4 *puVar22;" type_identifier (pointer_declarator "*puVar22" * identifier) ;) (declaration "uint uVar24;" type_identifier identifier ;) (declaration "int iVar25;" primitive_type identifier ;) (declaration "int iVar26;" primitive_type identifier ;) (declaration "float *pfVar27;" primitive_type (pointer_declarator "*pfVar27" * identifier) ;) (declaration "float *pfVar28;" primitive_type (pointer_declarator "*pfVar28" * identifier) ;) (declaration "undefined *puVar29;" type_identifier (pointer_declarator "*puVar29" * identifier) ;) (declaration "byte *pbVar30;" type_identifier (pointer_declarator "*pbVar30" * identifier) ;) (declaration "byte *pbVar31;" type_identifier (pointer_declarator "*pbVar31" * identifier) ;) (declaration "float *pfVar32;" primitive_type (pointer_declarator "*pfVar32" * identifier) ;) (declaration "undefined *puVar33;" type_identifier (pointer_declarator "*puVar33" * identifier) ;) (declaration "int iVar34;" primitive_type identifier ;) (declaration "int iVar35;" primitive_type identifier ;) (declaration "int iVar36;" primitive_type identifier ;) (declaration "int iVar37;" primitive_type identifier ;) (declaration "uint uVar38;" type_identifier identifier ;) (declaration "uint uVar39;" type_identifier identifier ;) (declaration "byte *pbVar40;" type_identifier (pointer_declarator "*pbVar40" * identifier) ;) (declaration "byte *unaff_s8;" type_identifier (pointer_declarator "*unaff_s8" * identifier) ;) (declaration "double dVar41;" primitive_type identifier ;) (declaration "double dVar42;" primitive_type identifier ;) (declaration "double dVar43;" primitive_type identifier ;) (declaration "double dVar44;" primitive_type identifier ;) (declaration "double dVar45;" primitive_type identifier ;) (declaration "longlong lVar46;" type_identifier identifier ;) (declaration "undefined8 uVar47;" type_identifier identifier ;) (declaration "undefined8 uVar48;" type_identifier identifier ;) (declaration "byte *local_1a0;" type_identifier (pointer_declarator "*local_1a0" * identifier) ;) (declaration "int *local_18c;" primitive_type (pointer_declarator "*local_18c" * identifier) ;) (declaration "int local_188;" primitive_type identifier ;) (declaration "int local_180;" primitive_type identifier ;) (declaration "uint local_17c;" type_identifier identifier ;) (declaration "byte *local_178;" type_identifier (pointer_declarator "*local_178" * identifier) ;) (declaration "int local_164;" primitive_type identifier ;) (declaration "short local_158 [6];" (sized_type_specifier "short" short) (array_declarator "local_158 [6]" identifier [ number_literal ]) ;) (declaration "byte local_14c [256];" type_identifier (array_declarator "local_14c [256]" identifier [ number_literal ]) ;) (declaration "int local_4c;" primitive_type identifier ;) (expression_statement "puVar3 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar3 = PTR___stack_chk_guard_003a9230" identifier = identifier) ;) (expression_statement "local_4c = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_4c = *(int *)PTR___stack_chk_guard_003a9230" identifier = (pointer_expression "*(int *)PTR___stack_chk_guard_003a9230" * (cast_expression "(int *)PTR___stack_chk_guard_003a9230" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) ;) (if_statement "if (param_1 == 0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" if (parenthesized_expression "(param_1 == 0)" ( (binary_expression "param_1 == 0" identifier == number_literal) )) (compound_statement "{\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" { (expression_statement "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);" (assignment_expression "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" identifier = (cast_expression "(undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (binary_expression "PTR_LAB_003a88e0 + 0xd78" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4" identifier + number_literal) ))))) ;) (return_statement "return puVar4;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3214) != -0x54535255)" ( (binary_expression "*(int *)(param_1 + 0x3214) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3214)" * (cast_expression "(int *)(param_1 + 0x3214)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3214)" ( (binary_expression "param_1 + 0x3214" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" { (expression_statement "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);" (assignment_expression "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" identifier = (cast_expression "(undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (binary_expression "PTR_LAB_003a88e0 + 0xda0" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4" identifier + number_literal) ))))) ;) (return_statement "return puVar4;" return identifier ;) })) (if_statement "if (*(int *)(param_1 + 0x3210) != 0) {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n  }" if (parenthesized_expression "(*(int *)(param_1 + 0x3210) != 0)" ( (binary_expression "*(int *)(param_1 + 0x3210) != 0" (pointer_expression "*(int *)(param_1 + 0x3210)" * (cast_expression "(int *)(param_1 + 0x3210)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x3210)" ( (binary_expression "param_1 + 0x3210" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n  }" { (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" ( (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" * (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210)" ( number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal) , number_literal , (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" identifier + number_literal) , (binary_expression "param_1 + 0x2210" identifier + number_literal) ))) ;) })) (if_statement "if (param_2 == (int *)0x0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" if (parenthesized_expression "(param_2 == (int *)0x0)" ( (binary_expression "param_2 == (int *)0x0" identifier == (cast_expression "(int *)0x0" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" { (expression_statement "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);" (assignment_expression "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" identifier = (cast_expression "(undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1cac" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4" identifier + number_literal) ))))) ;) (return_statement "return puVar4;" return identifier ;) })) (if_statement "if (param_2[7] != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" if (parenthesized_expression "(param_2[7] != -0x54535255)" ( (binary_expression "param_2[7] != -0x54535255" (subscript_expression "param_2[7]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" { (expression_statement "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);" (assignment_expression "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" identifier = (cast_expression "(undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" ( (pointer_expression "*(code *)PTR___assert_fail_003a9608" * (cast_expression "(code *)PTR___assert_fail_003a9608" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" ( (binary_expression "PTR_LAB_003a88e0 + 0x294c" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , number_literal , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4" identifier + number_literal) ))))) ;) (return_statement "return puVar4;" return identifier ;) })) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2)" (parenthesized_expression "(*(code *)PTR_AcquireImage_003a960c)" ( (pointer_expression "*(code *)PTR_AcquireImage_003a960c" * (cast_expression "(code *)PTR_AcquireImage_003a960c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,param_2)" ( identifier , identifier ))))) ;) (expression_statement "iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2);" (assignment_expression "iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2)" identifier = (call_expression "(*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2)" (parenthesized_expression "(*(code *)PTR_OpenBlob_003a924c)" ( (pointer_expression "*(code *)PTR_OpenBlob_003a924c" * (cast_expression "(code *)PTR_OpenBlob_003a924c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar4,2,param_2)" ( identifier , identifier , number_literal , identifier )))) ;) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) (if_statement "if (iVar5 == 0) {\nLAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);\n    unaff_s8 = pbVar12;\n  }\n  else {\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);\n    unaff_s8 = pbVar12;\n  }" { (labeled_statement "LAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);" statement_identifier : (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(puVar4)" (parenthesized_expression "(*(code *)PTR_DestroyImageList_003a9510)" ( (pointer_expression "*(code *)PTR_DestroyImageList_003a9510" * (cast_expression "(code *)PTR_DestroyImageList_003a9510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))))) ;)) (expression_statement "unaff_s8 = pbVar12;" (assignment_expression "unaff_s8 = pbVar12" identifier = identifier) ;) }) (else_clause "else {\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }" else (compound_statement "{\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }" { (expression_statement "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158)" identifier = (call_expression "(*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158)" (parenthesized_expression "(*(code *)PTR_ReadBlob_003a8dac)" ( (pointer_expression "*(code *)PTR_ReadBlob_003a8dac" * (cast_expression "(code *)PTR_ReadBlob_003a8dac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,2,local_158)" ( identifier , number_literal , identifier )))) ;) (expression_statement "puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;" (assignment_expression "puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8" identifier = identifier) ;) (if_statement "if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }" if (parenthesized_expression "((iVar5 == 2) && (local_158[0] == 0x52cc))" ( (binary_expression "(iVar5 == 2) && (local_158[0] == 0x52cc)" (parenthesized_expression "(iVar5 == 2)" ( (binary_expression "iVar5 == 2" identifier == number_literal) )) && (parenthesized_expression "(local_158[0] == 0x52cc)" ( (binary_expression "local_158[0] == 0x52cc" (subscript_expression "local_158[0]" identifier [ number_literal ]) == number_literal) ))) )) (compound_statement "{\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }" { (expression_statement "local_178 = (byte *)0x0;" (assignment_expression "local_178 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "local_1a0 = (byte *)0x0;" (assignment_expression "local_1a0 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);" (assignment_expression "dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" identifier = (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1400" identifier + number_literal) ))))) ;) (do_statement "do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);" do (compound_statement "{\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      }" { (expression_statement "uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);" (assignment_expression "uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" (parenthesized_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)" ( (pointer_expression "*(code *)PTR_ReadBlobLSBShort_003a96fc" * (cast_expression "(code *)PTR_ReadBlobLSBShort_003a96fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "puVar17 = PTR_ReadBlobLSBShort_003a96fc;" (assignment_expression "puVar17 = PTR_ReadBlobLSBShort_003a96fc" identifier = identifier) ;) (expression_statement "puVar4[0x8c] = uVar6;" (assignment_expression "puVar4[0x8c] = uVar6" (subscript_expression "puVar4[0x8c]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar6 = (*(code *)puVar17)(puVar4);" (assignment_expression "uVar6 = (*(code *)puVar17)(puVar4)" identifier = (call_expression "(*(code *)puVar17)(puVar4)" (parenthesized_expression "(*(code *)puVar17)" ( (pointer_expression "*(code *)puVar17" * (cast_expression "(code *)puVar17" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "puVar17 = PTR_ReadBlobLSBShort_003a96fc;" (assignment_expression "puVar17 = PTR_ReadBlobLSBShort_003a96fc" identifier = identifier) ;) (expression_statement "puVar4[0x8d] = uVar6;" (assignment_expression "puVar4[0x8d] = uVar6" (subscript_expression "puVar4[0x8d]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar6 = (*(code *)puVar17)(puVar4);" (assignment_expression "uVar6 = (*(code *)puVar17)(puVar4)" identifier = (call_expression "(*(code *)puVar17)(puVar4)" (parenthesized_expression "(*(code *)puVar17)" ( (pointer_expression "*(code *)puVar17" * (cast_expression "(code *)puVar17" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "puVar17 = PTR_ReadBlobLSBShort_003a96fc;" (assignment_expression "puVar17 = PTR_ReadBlobLSBShort_003a96fc" identifier = identifier) ;) (expression_statement "puVar4[6] = uVar6;" (assignment_expression "puVar4[6] = uVar6" (subscript_expression "puVar4[6]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar6 = (*(code *)puVar17)(puVar4);" (assignment_expression "uVar6 = (*(code *)puVar17)(puVar4)" identifier = (call_expression "(*(code *)puVar17)(puVar4)" (parenthesized_expression "(*(code *)puVar17)" ( (pointer_expression "*(code *)puVar17" * (cast_expression "(code *)puVar17" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "puVar17 = PTR_ReadBlobByte_003a97f0;" (assignment_expression "puVar17 = PTR_ReadBlobByte_003a97f0" identifier = identifier) ;) (expression_statement "puVar4[7] = uVar6;" (assignment_expression "puVar4[7] = uVar6" (subscript_expression "puVar4[7]" identifier [ number_literal ]) = identifier) ;) (expression_statement "uVar7 = (*(code *)puVar17)(puVar4);" (assignment_expression "uVar7 = (*(code *)puVar17)(puVar4)" identifier = (call_expression "(*(code *)puVar17)(puVar4)" (parenthesized_expression "(*(code *)puVar17)" ( (pointer_expression "*(code *)puVar17" * (cast_expression "(code *)puVar17" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "puVar4[0xaf] = uVar7 & 4;" (assignment_expression "puVar4[0xaf] = uVar7 & 4" (subscript_expression "puVar4[0xaf]" identifier [ number_literal ]) = (binary_expression "uVar7 & 4" identifier & number_literal)) ;) (expression_statement "uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier )))) ;) (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier )))) ;) (expression_statement "uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier )))) ;) (expression_statement "uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier )))) ;) (expression_statement "local_18c = param_2;" (assignment_expression "local_18c = param_2" identifier = identifier) ;) (expression_statement "local_188 = param_1;" (assignment_expression "local_188 = param_1" identifier = identifier) ;) (if_statement "if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }" if (parenthesized_expression "(0x15 < (uVar10 & 0xff))" ( (binary_expression "0x15 < (uVar10 & 0xff)" number_literal < (parenthesized_expression "(uVar10 & 0xff)" ( (binary_expression "uVar10 & 0xff" identifier & number_literal) ))) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0xee;" (assignment_expression "uVar6 = 0xee" identifier = number_literal) ;) (labeled_statement "LAB_002a6770:\n          param_1 = param_1 + 0x2210;" statement_identifier : (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;)) (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar17 = PTR_s_courses_003a88ec + -400;" (assignment_expression "puVar17 = PTR_s_courses_003a88ec + -400" identifier = (binary_expression "PTR_s_courses_003a88ec + -400" identifier + number_literal)) ;) (expression_statement "uVar18 = 0x1a9;" (assignment_expression "uVar18 = 0x1a9" identifier = number_literal) ;) (goto_statement "goto LAB_002a5e2c;" goto statement_identifier ;) })) (expression_statement "iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);" (assignment_expression "iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(puVar4)" (parenthesized_expression "(*(code *)PTR_EOFBlob_003a9748)" ( (pointer_expression "*(code *)PTR_EOFBlob_003a9748" * (cast_expression "(code *)PTR_EOFBlob_003a9748" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (if_statement "if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;) (expression_statement "uVar6 = 0xf0;" (assignment_expression "uVar6 = 0xf0" identifier = number_literal) ;) (goto_statement "goto LAB_002a6244;" goto statement_identifier ;) })) (expression_statement "uVar24 = 1 << (uVar10 & 0x1f);" (assignment_expression "uVar24 = 1 << (uVar10 & 0x1f)" identifier = (binary_expression "1 << (uVar10 & 0x1f)" number_literal << (parenthesized_expression "(uVar10 & 0x1f)" ( (binary_expression "uVar10 & 0x1f" identifier & number_literal) )))) ;) (if_statement "if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }" if (parenthesized_expression "(((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8))))" ( (binary_expression "((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))" (parenthesized_expression "((uVar8 & 0xfffffffd) == 0)" ( (binary_expression "(uVar8 & 0xfffffffd) == 0" (parenthesized_expression "(uVar8 & 0xfffffffd)" ( (binary_expression "uVar8 & 0xfffffffd" identifier & number_literal) )) == number_literal) )) || (parenthesized_expression "((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))" ( (parenthesized_expression "(((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8))" ( (binary_expression "((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)" (parenthesized_expression "((uVar7 & 4) != 0 && (0xfb < uVar8 - 3))" ( (binary_expression "(uVar7 & 4) != 0 && (0xfb < uVar8 - 3)" (binary_expression "(uVar7 & 4) != 0" (parenthesized_expression "(uVar7 & 4)" ( (binary_expression "uVar7 & 4" identifier & number_literal) )) != number_literal) && (parenthesized_expression "(0xfb < uVar8 - 3)" ( (binary_expression "0xfb < uVar8 - 3" number_literal < (binary_expression "uVar8 - 3" identifier - number_literal)) ))) )) || (parenthesized_expression "(iVar5 != 8)" ( (binary_expression "iVar5 != 8" identifier != number_literal) ))) )) ))) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0xf5;" (assignment_expression "uVar6 = 0xf5" identifier = number_literal) ;) (goto_statement "goto LAB_002a6770;" goto statement_identifier ;) })) (if_statement "if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }" if (parenthesized_expression "(4 < uVar8)" ( (binary_expression "4 < uVar8" number_literal < identifier) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0xf7;" (assignment_expression "uVar6 = 0xf7" identifier = number_literal) ;) (goto_statement "goto LAB_002a6770;" goto statement_identifier ;) })) (if_statement "if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }" if (parenthesized_expression "((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1))" ( (binary_expression "(0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)" (parenthesized_expression "(0x7ffe < puVar4[6] - 1)" ( (binary_expression "0x7ffe < puVar4[6] - 1" number_literal < (binary_expression "puVar4[6] - 1" (subscript_expression "puVar4[6]" identifier [ number_literal ]) - number_literal)) )) || (parenthesized_expression "(0x7ffe < puVar4[7] - 1)" ( (binary_expression "0x7ffe < puVar4[7] - 1" number_literal < (binary_expression "puVar4[7] - 1" (subscript_expression "puVar4[7]" identifier [ number_literal ]) - number_literal)) ))) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0xfa;" (assignment_expression "uVar6 = 0xfa" identifier = number_literal) ;) (goto_statement "goto LAB_002a6770;" goto statement_identifier ;) })) (if_statement "if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }" if (parenthesized_expression "((uVar7 & 2) == 0)" ( (binary_expression "(uVar7 & 2) == 0" (parenthesized_expression "(uVar7 & 2)" ( (binary_expression "uVar7 & 2" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }" { (expression_statement "pbVar12 = local_14c;" (assignment_expression "pbVar12 = local_14c" identifier = identifier) ;) (do_statement "do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);" do (compound_statement "{\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          }" { (expression_statement "pbVar15 = pbVar12 + 1;" (assignment_expression "pbVar15 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) (expression_statement "bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier )))) ;) (expression_statement "*pbVar12 = bVar23;" (assignment_expression "*pbVar12 = bVar23" (pointer_expression "*pbVar12" * identifier) = identifier) ;) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" identifier = identifier) ;) }) while (parenthesized_expression "(local_14c + uVar8 != pbVar15)" ( (binary_expression "local_14c + uVar8 != pbVar15" (binary_expression "local_14c + uVar8" identifier + identifier) != identifier) )) ;) }) (else_clause "else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }" else (compound_statement "{\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }" { (expression_statement "pbVar12 = local_14c;" (assignment_expression "pbVar12 = local_14c" identifier = identifier) ;) (do_statement "do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);" do (compound_statement "{\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          }" { (expression_statement "*pbVar12 = 0;" (assignment_expression "*pbVar12 = 0" (pointer_expression "*pbVar12" * identifier) = number_literal) ;) (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar12 != local_14c + uVar8)" ( (binary_expression "pbVar12 != local_14c + uVar8" identifier != (binary_expression "local_14c + uVar8" identifier + identifier)) )) ;) (expression_statement "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier ))) ;) }))) (if_statement "if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }" if (parenthesized_expression "((uVar8 & 1) == 0)" ( (binary_expression "(uVar8 & 1) == 0" (parenthesized_expression "(uVar8 & 1)" ( (binary_expression "uVar8 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }" { (expression_statement "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier ))) ;) })) (expression_statement "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(puVar4)" (parenthesized_expression "(*(code *)PTR_EOFBlob_003a9748)" ( (pointer_expression "*(code *)PTR_EOFBlob_003a9748" * (cast_expression "(code *)PTR_EOFBlob_003a9748" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (if_statement "if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;) (expression_statement "uVar6 = 0x110;" (assignment_expression "uVar6 = 0x110" identifier = number_literal) ;) (goto_statement "goto LAB_002a6244;" goto statement_identifier ;) })) (expression_statement "uVar38 = uVar8;" (assignment_expression "uVar38 = uVar8" identifier = identifier) ;) (if_statement "if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }" if (parenthesized_expression "(puVar4[0xaf] != 0)" ( (binary_expression "puVar4[0xaf] != 0" (subscript_expression "puVar4[0xaf]" identifier [ number_literal ]) != number_literal) )) (compound_statement "{\n          uVar38 = uVar8 + 1;\n        }" { (expression_statement "uVar38 = uVar8 + 1;" (assignment_expression "uVar38 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) })) (expression_statement "uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];" (assignment_expression "uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7]" identifier = (binary_expression "(ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7]" (cast_expression "(ulonglong)(uint)puVar4[6]" ( (type_descriptor "ulonglong" type_identifier) ) (cast_expression "(uint)puVar4[6]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar4[6]" identifier [ number_literal ]))) * (cast_expression "(ulonglong)(uint)puVar4[7]" ( (type_descriptor "ulonglong" type_identifier) ) (cast_expression "(uint)puVar4[7]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar4[7]" identifier [ number_literal ]))))) ;) (expression_statement "lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);" (assignment_expression "lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetBlobSize_003a94b8)" ( (pointer_expression "*(code *)PTR_GetBlobSize_003a94b8" * (cast_expression "(code *)PTR_GetBlobSize_003a94b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (if_statement "if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }" if (parenthesized_expression "(lVar46 == 0)" ( (binary_expression "lVar46 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }" { (labeled_statement "LAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" statement_identifier : (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (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 "(local_178)" ( identifier ))) ;) }))) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0x116;" (assignment_expression "uVar6 = 0x116" identifier = number_literal) ;) (labeled_statement "LAB_002a6a54:\n          param_1 = param_1 + 0x2210;" statement_identifier : (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;)) (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar17 = PTR_s_courses_003a88ec + 0x4a0;" (assignment_expression "puVar17 = PTR_s_courses_003a88ec + 0x4a0" identifier = (binary_expression "PTR_s_courses_003a88ec + 0x4a0" identifier + number_literal)) ;) (expression_statement "uVar18 = 0x1a9;" (assignment_expression "uVar18 = 0x1a9" identifier = number_literal) ;) (goto_statement "goto LAB_002a5e2c;" goto statement_identifier ;) })) (expression_statement "local_180 = (int)(uVar1 >> 0x20);" (assignment_expression "local_180 = (int)(uVar1 >> 0x20)" identifier = (cast_expression "(int)(uVar1 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uVar1 >> 0x20)" ( (binary_expression "uVar1 >> 0x20" identifier >> number_literal) )))) ;) (expression_statement "lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);" (assignment_expression "lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff)" identifier = (binary_expression "(ulonglong)uVar38 * (uVar1 & 0xffffffff)" (cast_expression "(ulonglong)uVar38" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (parenthesized_expression "(uVar1 & 0xffffffff)" ( (binary_expression "uVar1 & 0xffffffff" identifier & number_literal) )))) ;) (expression_statement "uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);" (assignment_expression "uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20)" identifier = (binary_expression "uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20)" (binary_expression "uVar38 * local_180" identifier * identifier) + (cast_expression "(int)((ulonglong)lVar46 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)lVar46 >> 0x20)" ( (binary_expression "(ulonglong)lVar46 >> 0x20" (cast_expression "(ulonglong)lVar46" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))))) ;) (expression_statement "uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);" (assignment_expression "uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetBlobSize_003a94b8)" ( (pointer_expression "*(code *)PTR_GetBlobSize_003a94b8" * (cast_expression "(code *)PTR_GetBlobSize_003a94b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);" (assignment_expression "uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47)" identifier = (call_expression "(*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47)" (parenthesized_expression "(*(code *)PTR_FUN_003a89c0)" ( (pointer_expression "*(code *)PTR_FUN_003a89c0" * (cast_expression "(code *)PTR_FUN_003a89c0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47)" ( (binary_expression "uVar39 & 0x1fffffff" identifier & number_literal) , (cast_expression "(int)lVar46" ( (type_descriptor "int" primitive_type) ) identifier) , (cast_expression "(int)((ulonglong)uVar47 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar47 >> 0x20)" ( (binary_expression "(ulonglong)uVar47 >> 0x20" (cast_expression "(ulonglong)uVar47" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) , (cast_expression "(int)uVar47" ( (type_descriptor "int" primitive_type) ) identifier) )))) ;) (if_statement "if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;" if (parenthesized_expression "(((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47))" ( (binary_expression "((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)" (parenthesized_expression "((int)((ulonglong)uVar47 >> 0x20) != 0)" ( (binary_expression "(int)((ulonglong)uVar47 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar47 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar47 >> 0x20)" ( (binary_expression "(ulonglong)uVar47 >> 0x20" (cast_expression "(ulonglong)uVar47" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) != number_literal) )) || (parenthesized_expression "(0xfe < (uint)uVar47)" ( (binary_expression "0xfe < (uint)uVar47" number_literal < (cast_expression "(uint)uVar47" ( (type_descriptor "uint" type_identifier) ) identifier)) ))) )) (goto_statement "goto LAB_002a6a10;" goto statement_identifier ;)) (expression_statement "uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);" (assignment_expression "uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetBlobSize_003a94b8)" ( (pointer_expression "*(code *)PTR_GetBlobSize_003a94b8" * (cast_expression "(code *)PTR_GetBlobSize_003a94b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (if_statement "if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }" if (parenthesized_expression "(uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24)" ( (binary_expression "uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24" identifier < (binary_expression "(ulonglong)uVar9 * (ulonglong)uVar24" (cast_expression "(ulonglong)uVar9" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (cast_expression "(ulonglong)uVar24" ( (type_descriptor "ulonglong" type_identifier) ) identifier))) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0x118;" (assignment_expression "uVar6 = 0x118" identifier = number_literal) ;) (goto_statement "goto LAB_002a6a54;" goto statement_identifier ;) })) (if_statement "if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (compound_statement "{\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }" { (expression_statement "local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));" (assignment_expression "local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f))" identifier = (cast_expression "(byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f))" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f))" (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 "(uVar9,3 << (uVar10 & 0x1f))" ( identifier , (binary_expression "3 << (uVar10 & 0x1f)" number_literal << (parenthesized_expression "(uVar10 & 0x1f)" ( (binary_expression "uVar10 & 0x1f" identifier & number_literal) ))) ))))) ;) (if_statement "if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }" if (parenthesized_expression "(local_178 == (byte *)0x0)" ( (binary_expression "local_178 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }" { (if_statement "if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0x121;" (assignment_expression "uVar6 = 0x121" identifier = number_literal) ;) (goto_statement "goto LAB_002a705c;" goto statement_identifier ;) })) (expression_statement "(*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);" (call_expression "(*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3)" (parenthesized_expression "(*(code *)PTR_memset_003a96d4)" ( (pointer_expression "*(code *)PTR_memset_003a96d4" * (cast_expression "(code *)PTR_memset_003a96d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3)" ( identifier , number_literal , (binary_expression "(uVar9 << (uVar10 & 0x1f)) * 3" (parenthesized_expression "(uVar9 << (uVar10 & 0x1f))" ( (binary_expression "uVar9 << (uVar10 & 0x1f)" identifier << (parenthesized_expression "(uVar10 & 0x1f)" ( (binary_expression "uVar10 & 0x1f" identifier & number_literal) ))) )) * number_literal) ))) ;) (expression_statement "unaff_s8 = local_178;" (assignment_expression "unaff_s8 = local_178" identifier = identifier) ;) (if_statement "if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }" if (parenthesized_expression "((int)uVar9 < 1)" ( (binary_expression "(int)uVar9 < 1" (cast_expression "(int)uVar9" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            uVar8 = 0;\n          }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }" else (compound_statement "{\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }" { (expression_statement "dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);" (assignment_expression "dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" identifier = (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" * (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" ( (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8" identifier + number_literal) ))))) ;) (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" identifier = number_literal) ;) (do_statement "do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);" do (compound_statement "{\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            }" { (expression_statement "pbVar15 = unaff_s8 + uVar24;" (assignment_expression "pbVar15 = unaff_s8 + uVar24" identifier = (binary_expression "unaff_s8 + uVar24" identifier + identifier)) ;) (expression_statement "dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);" (assignment_expression "dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410)" identifier = (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" * (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" ( (binary_expression "PTR_LAB_003a88e0 + 0x1410" identifier + number_literal) ))))) ;) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) (do_statement "do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);" do (compound_statement "{\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              }" { (expression_statement "unaff_s8 = pbVar12 + 1;" (assignment_expression "unaff_s8 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) (expression_statement "iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" (parenthesized_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)" ( (pointer_expression "*(code *)PTR_ReadBlobLSBShort_003a96fc" * (cast_expression "(code *)PTR_ReadBlobLSBShort_003a96fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "puVar17 = PTR_EOFBlob_003a9748;" (assignment_expression "puVar17 = PTR_EOFBlob_003a9748" identifier = identifier) ;) (if_statement "if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }" if (parenthesized_expression "((float)iVar5 <= 0.0)" ( (binary_expression "(float)iVar5 <= 0.0" (cast_expression "(float)iVar5" ( (type_descriptor "float" primitive_type) ) identifier) <= number_literal) )) (compound_statement "{\n                  bVar23 = 0;\n                }" { (expression_statement "bVar23 = 0;" (assignment_expression "bVar23 = 0" identifier = number_literal) ;) }) (else_clause "else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }" else (if_statement "if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }" if (parenthesized_expression "((double)iVar5 / dVar43 < dVar45)" ( (binary_expression "(double)iVar5 / dVar43 < dVar45" (binary_expression "(double)iVar5 / dVar43" (cast_expression "(double)iVar5" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) < identifier) )) (compound_statement "{\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }" { (expression_statement "dVar41 = (double)iVar5 / dVar43 + dVar44;" (assignment_expression "dVar41 = (double)iVar5 / dVar43 + dVar44" identifier = (binary_expression "(double)iVar5 / dVar43 + dVar44" (binary_expression "(double)iVar5 / dVar43" (cast_expression "(double)iVar5" ( (type_descriptor "double" primitive_type) ) identifier) / identifier) + identifier)) ;) (if_statement "if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }" if (parenthesized_expression "(dVar41 < dVar42)" ( (binary_expression "dVar41 < dVar42" identifier < identifier) )) (compound_statement "{\n                    bVar23 = (byte)(int)dVar41;\n                  }" { (expression_statement "bVar23 = (byte)(int)dVar41;" (assignment_expression "bVar23 = (byte)(int)dVar41" identifier = (cast_expression "(byte)(int)dVar41" ( (type_descriptor "byte" type_identifier) ) (cast_expression "(int)dVar41" ( (type_descriptor "int" primitive_type) ) identifier))) ;) }) (else_clause "else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }" else (compound_statement "{\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }" { (expression_statement "bVar23 = (byte)(int)(dVar41 - dVar42);" (assignment_expression "bVar23 = (byte)(int)(dVar41 - dVar42)" identifier = (call_expression "(byte)(int)(dVar41 - dVar42)" (call_expression "(byte)(int)" (parenthesized_expression "(byte)" ( identifier )) (argument_list "(int)" ( identifier ))) (argument_list "(dVar41 - dVar42)" ( (binary_expression "dVar41 - dVar42" identifier - identifier) )))) ;) }))) }) (else_clause "else {\n                  bVar23 = 0xff;\n                }" else (compound_statement "{\n                  bVar23 = 0xff;\n                }" { (expression_statement "bVar23 = 0xff;" (assignment_expression "bVar23 = 0xff" identifier = number_literal) ;) }))))) (expression_statement "*pbVar12 = bVar23;" (assignment_expression "*pbVar12 = bVar23" (pointer_expression "*pbVar12" * identifier) = identifier) ;) (expression_statement "iVar5 = (*(code *)puVar17)(puVar4);" (assignment_expression "iVar5 = (*(code *)puVar17)(puVar4)" identifier = (call_expression "(*(code *)puVar17)(puVar4)" (parenthesized_expression "(*(code *)puVar17)" ( (pointer_expression "*(code *)puVar17" * (cast_expression "(code *)puVar17" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (if_statement "if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (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 "(local_178)" ( identifier ))) ;) (if_statement "if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;) (expression_statement "uVar6 = 299;" (assignment_expression "uVar6 = 299" identifier = number_literal) ;) (goto_statement "goto LAB_002a6244;" goto statement_identifier ;) })) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar15 != unaff_s8)" ( (binary_expression "pbVar15 != unaff_s8" identifier != identifier) )) ;) (expression_statement "uVar13 = uVar13 + 1;" (assignment_expression "uVar13 = uVar13 + 1" identifier = (binary_expression "uVar13 + 1" identifier + number_literal)) ;) (expression_statement "uVar8 = uVar9;" (assignment_expression "uVar8 = uVar9" identifier = identifier) ;) }) while (parenthesized_expression "(uVar9 != uVar13)" ( (binary_expression "uVar9 != uVar13" identifier != identifier) )) ;) }))) })) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) (if_statement "if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }" if (parenthesized_expression "(((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0))" ( (binary_expression "((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)" (parenthesized_expression "((uVar7 & 8) != 0)" ( (binary_expression "(uVar7 & 8) != 0" (parenthesized_expression "(uVar7 & 8)" ( (binary_expression "uVar7 & 8" identifier & number_literal) )) != number_literal) )) && (parenthesized_expression "(uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)" ( (comma_expression "uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0" (assignment_expression "uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" (parenthesized_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)" ( (pointer_expression "*(code *)PTR_ReadBlobLSBShort_003a96fc" * (cast_expression "(code *)PTR_ReadBlobLSBShort_003a96fc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) , (binary_expression "uVar13 != 0" identifier != number_literal)) ))) )) (compound_statement "{\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }" { (expression_statement "unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);" (assignment_expression "unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1)" identifier = (cast_expression "(byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,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 "(uVar13,1)" ( identifier , number_literal ))))) ;) (if_statement "if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }" if (parenthesized_expression "(unaff_s8 == (byte *)0x0)" ( (binary_expression "unaff_s8 == (byte *)0x0" identifier == (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }" { (if_statement "if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0x13e;" (assignment_expression "uVar6 = 0x13e" identifier = number_literal) ;) (goto_statement "goto LAB_002a705c;" goto statement_identifier ;) })) (expression_statement "iVar11 = uVar13 - 1;" (assignment_expression "iVar11 = uVar13 - 1" identifier = (binary_expression "uVar13 - 1" identifier - number_literal)) ;) (expression_statement "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8)" identifier = (call_expression "(*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8)" (parenthesized_expression "(*(code *)PTR_ReadBlob_003a8dac)" ( (pointer_expression "*(code *)PTR_ReadBlob_003a8dac" * (cast_expression "(code *)PTR_ReadBlob_003a8dac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,iVar11,unaff_s8)" ( identifier , identifier , identifier )))) ;) (expression_statement "puVar17 = PTR_SetImageProperty_003a9534;" (assignment_expression "puVar17 = PTR_SetImageProperty_003a9534" identifier = identifier) ;) (if_statement "if (iVar11 != iVar5) goto LAB_002a7380;" if (parenthesized_expression "(iVar11 != iVar5)" ( (binary_expression "iVar11 != iVar5" identifier != identifier) )) (goto_statement "goto LAB_002a7380;" goto statement_identifier ;)) (expression_statement "puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;" (assignment_expression "puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928" identifier + number_literal)) ;) (expression_statement "unaff_s8[iVar11] = 0;" (assignment_expression "unaff_s8[iVar11] = 0" (subscript_expression "unaff_s8[iVar11]" identifier [ identifier ]) = number_literal) ;) (expression_statement "(*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);" (call_expression "(*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2)" (parenthesized_expression "(*(code *)puVar17)" ( (pointer_expression "*(code *)puVar17" * (cast_expression "(code *)puVar17" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,puVar29,unaff_s8,param_2)" ( identifier , identifier , identifier , identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(unaff_s8);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(unaff_s8)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s8)" ( identifier ))) ;) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) (if_statement "if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }" if (parenthesized_expression "((uVar13 & 1) == 0)" ( (binary_expression "(uVar13 & 1) == 0" (parenthesized_expression "(uVar13 & 1)" ( (binary_expression "uVar13 & 1" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }" { (expression_statement "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier ))) ;) })) })) (expression_statement "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(puVar4)" (parenthesized_expression "(*(code *)PTR_EOFBlob_003a9748)" ( (pointer_expression "*(code *)PTR_EOFBlob_003a9748" * (cast_expression "(code *)PTR_EOFBlob_003a9748" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "unaff_s8 = pbVar12;" (assignment_expression "unaff_s8 = pbVar12" identifier = identifier) ;) (if_statement "if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;) (expression_statement "uVar6 = 0x14d;" (assignment_expression "uVar6 = 0x14d" identifier = number_literal) ;) (goto_statement "goto LAB_002a6244;" goto statement_identifier ;) })) (if_statement "if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;" if (parenthesized_expression "(((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))" ( (binary_expression "((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b])" (parenthesized_expression "((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0))" ( (binary_expression "(*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x1dc) != 0)" ( (binary_expression "*(int *)(param_1 + 0x1dc) != 0" (pointer_expression "*(int *)(param_1 + 0x1dc)" * (cast_expression "(int *)(param_1 + 0x1dc)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x1dc)" ( (binary_expression "param_1 + 0x1dc" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "(*(int *)(param_1 + 0x2c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x2c) != 0" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) != number_literal) ))) )) && (parenthesized_expression "((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b])" ( (binary_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]" (binary_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U" (parenthesized_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28))" ( (binary_expression "*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) )) - number_literal) <= (cast_expression "(uint)puVar4[0x9b]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar4[0x9b]" identifier [ number_literal ]))) ))) )) (break_statement "break;" break ;)) (expression_statement "local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);" (assignment_expression "local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2)" identifier = (call_expression "(*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2)" (parenthesized_expression "(*(code *)PTR_SetImageExtent_003a94ac)" ( (pointer_expression "*(code *)PTR_SetImageExtent_003a94ac" * (cast_expression "(code *)PTR_SetImageExtent_003a94ac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,puVar4[6],puVar4[7],param_2)" ( identifier , (subscript_expression "puVar4[6]" identifier [ number_literal ]) , (subscript_expression "puVar4[7]" identifier [ number_literal ]) , identifier )))) ;) (if_statement "if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }" if (parenthesized_expression "(local_164 == 0)" ( (binary_expression "local_164 == 0" identifier == number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (goto_statement "goto LAB_002a57d0;" goto statement_identifier ;) })) (expression_statement "uVar14 = uVar38 + 1;" (assignment_expression "uVar14 = uVar38 + 1" identifier = (binary_expression "uVar38 + 1" identifier + number_literal)) ;) (expression_statement "local_17c = (uint)uVar1;" (assignment_expression "local_17c = (uint)uVar1" identifier = (cast_expression "(uint)uVar1" ( (type_descriptor "uint" type_identifier) ) identifier)) ;) (expression_statement "uVar13 = uVar38;" (assignment_expression "uVar13 = uVar38" identifier = identifier) ;) (if_statement "if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }" if (parenthesized_expression "((uVar38 & 1) != 0)" ( (binary_expression "(uVar38 & 1) != 0" (parenthesized_expression "(uVar38 & 1)" ( (binary_expression "uVar38 & 1" identifier & number_literal) )) != number_literal) )) (compound_statement "{\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }" { (expression_statement "uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);" (assignment_expression "uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20)" identifier = (binary_expression "uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20)" (binary_expression "uVar14 * local_180" identifier * identifier) + (cast_expression "(int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20)" ( (binary_expression "(ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20" (binary_expression "(ulonglong)uVar14 * (uVar1 & 0xffffffff)" (cast_expression "(ulonglong)uVar14" ( (type_descriptor "ulonglong" type_identifier) ) identifier) * (parenthesized_expression "(uVar1 & 0xffffffff)" ( (binary_expression "uVar1 & 0xffffffff" identifier & number_literal) ))) >> number_literal) ))))) ;) (expression_statement "uVar13 = uVar14;" (assignment_expression "uVar13 = uVar14" identifier = identifier) ;) })) (if_statement "if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }" if (parenthesized_expression "(uVar39 != 0)" ( (binary_expression "uVar39 != 0" identifier != number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "uVar6 = 0x161;" (assignment_expression "uVar6 = 0x161" identifier = number_literal) ;) (goto_statement "goto LAB_002a705c;" goto statement_identifier ;) })) (expression_statement "uVar39 = 4;" (assignment_expression "uVar39 = 4" identifier = number_literal) ;) (if_statement "if (3 < uVar13) {\n          uVar39 = uVar13;\n        }" if (parenthesized_expression "(3 < uVar13)" ( (binary_expression "3 < uVar13" number_literal < identifier) )) (compound_statement "{\n          uVar39 = uVar13;\n        }" { (expression_statement "uVar39 = uVar13;" (assignment_expression "uVar39 = uVar13" identifier = identifier) ;) })) (expression_statement "iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);" (assignment_expression "iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7])" identifier = (call_expression "(*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7])" (parenthesized_expression "(*(code *)PTR_AcquireVirtualMemory_003a92cc)" ( (pointer_expression "*(code *)PTR_AcquireVirtualMemory_003a92cc" * (cast_expression "(code *)PTR_AcquireVirtualMemory_003a92cc" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4[6],uVar39 * puVar4[7])" ( (subscript_expression "puVar4[6]" identifier [ number_literal ]) , (binary_expression "uVar39 * puVar4[7]" identifier * (subscript_expression "puVar4[7]" identifier [ number_literal ])) )))) ;) (if_statement "if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }" { (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (expression_statement "uVar6 = 0x165;" (assignment_expression "uVar6 = 0x165" identifier = number_literal) ;) (goto_statement "goto LAB_002a705c;" goto statement_identifier ;) })) (expression_statement "iVar25 = puVar4[7];" (assignment_expression "iVar25 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) (expression_statement "iVar11 = puVar4[6];" (assignment_expression "iVar11 = puVar4[6]" identifier = (subscript_expression "puVar4[6]" identifier [ number_literal ])) ;) (expression_statement "pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);" (assignment_expression "pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5)" identifier = (cast_expression "(byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5)" (parenthesized_expression "(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)" ( (pointer_expression "*(code *)PTR_GetVirtualMemoryBlob_003a8f28" * (cast_expression "(code *)PTR_GetVirtualMemoryBlob_003a8f28" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))))) ;) (expression_statement "(*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);" (call_expression "(*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39)" (parenthesized_expression "(*(code *)PTR_memset_003a96d4)" ( (pointer_expression "*(code *)PTR_memset_003a96d4" * (cast_expression "(code *)PTR_memset_003a96d4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(pbVar15,0,iVar11 * iVar25 * uVar39)" ( identifier , number_literal , (binary_expression "iVar11 * iVar25 * uVar39" (binary_expression "iVar11 * iVar25" identifier * identifier) * identifier) ))) ;) (if_statement "if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }" if (parenthesized_expression "((uVar7 & 3) == 1)" ( (binary_expression "(uVar7 & 3) == 1" (parenthesized_expression "(uVar7 & 3)" ( (binary_expression "uVar7 & 3" identifier & number_literal) )) == number_literal) )) (compound_statement "{\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }" { (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (if_statement "if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }" if (parenthesized_expression "((int)local_17c < 1)" ( (binary_expression "(int)local_17c < 1" (cast_expression "(int)local_17c" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (compound_statement "{\n            uVar8 = 0;\n          }" { (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) }) (else_clause "else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }" else (compound_statement "{\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }" { (expression_statement "pbVar19 = pbVar15;" (assignment_expression "pbVar19 = pbVar15" identifier = identifier) ;) (do_statement "do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);" do (compound_statement "{\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            }" { (expression_statement "pbVar31 = local_14c;" (assignment_expression "pbVar31 = local_14c" identifier = identifier) ;) (expression_statement "pbVar40 = pbVar19;" (assignment_expression "pbVar40 = pbVar19" identifier = identifier) ;) (if_statement "if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }" if (parenthesized_expression "(puVar4[0xaf] == 0)" ( (binary_expression "puVar4[0xaf] == 0" (subscript_expression "puVar4[0xaf]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }" { (do_statement "do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);" do (compound_statement "{\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                }" { (expression_statement "pbVar30 = pbVar31 + 1;" (assignment_expression "pbVar30 = pbVar31 + 1" identifier = (binary_expression "pbVar31 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar40 = *pbVar31;" (assignment_expression "*pbVar40 = *pbVar31" (pointer_expression "*pbVar40" * identifier) = (pointer_expression "*pbVar31" * identifier)) ;) (expression_statement "pbVar31 = pbVar30;" (assignment_expression "pbVar31 = pbVar30" identifier = identifier) ;) (expression_statement "pbVar40 = pbVar40 + 1;" (assignment_expression "pbVar40 = pbVar40 + 1" identifier = (binary_expression "pbVar40 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar30 != local_14c + uVar38)" ( (binary_expression "pbVar30 != local_14c + uVar38" identifier != (binary_expression "local_14c + uVar38" identifier + identifier)) )) ;) (expression_statement "pbVar31 = pbVar19 + uVar38;" (assignment_expression "pbVar31 = pbVar19 + uVar38" identifier = (binary_expression "pbVar19 + uVar38" identifier + identifier)) ;) }) (else_clause "else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }" else (compound_statement "{\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }" { (if_statement "if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }" if (parenthesized_expression "(uVar38 - 1 != 0)" ( (binary_expression "uVar38 - 1 != 0" (binary_expression "uVar38 - 1" identifier - number_literal) != number_literal) )) (compound_statement "{\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }" { (expression_statement "pbVar30 = pbVar19 + (uVar38 - 1);" (assignment_expression "pbVar30 = pbVar19 + (uVar38 - 1)" identifier = (binary_expression "pbVar19 + (uVar38 - 1)" identifier + (parenthesized_expression "(uVar38 - 1)" ( (binary_expression "uVar38 - 1" identifier - number_literal) )))) ;) (expression_statement "pbVar31 = pbVar19;" (assignment_expression "pbVar31 = pbVar19" identifier = identifier) ;) (expression_statement "pbVar40 = local_14c;" (assignment_expression "pbVar40 = local_14c" identifier = identifier) ;) (do_statement "do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);" do (compound_statement "{\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  }" { (expression_statement "bVar23 = *pbVar40;" (assignment_expression "bVar23 = *pbVar40" identifier = (pointer_expression "*pbVar40" * identifier)) ;) (expression_statement "pbVar19 = pbVar31 + 1;" (assignment_expression "pbVar19 = pbVar31 + 1" identifier = (binary_expression "pbVar31 + 1" identifier + number_literal)) ;) (expression_statement "pbVar40 = pbVar40 + 1;" (assignment_expression "pbVar40 = pbVar40 + 1" identifier = (binary_expression "pbVar40 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar31 = bVar23;" (assignment_expression "*pbVar31 = bVar23" (pointer_expression "*pbVar31" * identifier) = identifier) ;) (expression_statement "pbVar31 = pbVar19;" (assignment_expression "pbVar31 = pbVar19" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar30 != pbVar19)" ( (binary_expression "pbVar30 != pbVar19" identifier != identifier) )) ;) })) (expression_statement "pbVar31 = pbVar19 + 1;" (assignment_expression "pbVar31 = pbVar19 + 1" identifier = (binary_expression "pbVar19 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar19 = 0;" (assignment_expression "*pbVar19 = 0" (pointer_expression "*pbVar19" * identifier) = number_literal) ;) }))) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "pbVar19 = pbVar31;" (assignment_expression "pbVar19 = pbVar31" identifier = identifier) ;) (expression_statement "uVar8 = local_17c;" (assignment_expression "uVar8 = local_17c" identifier = identifier) ;) }) while (parenthesized_expression "(local_17c != uVar7)" ( (binary_expression "local_17c != uVar7" identifier != identifier) )) ;) }))) })) (expression_statement "uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier )))) ;) (expression_statement "unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;" (assignment_expression "unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c" identifier = identifier) ;) (if_statement "if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }" if (parenthesized_expression "(uVar7 == 0xffffffff)" ( (binary_expression "uVar7 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }" { (if_statement "if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" if (parenthesized_expression "(uVar9 != 0)" ( (binary_expression "uVar9 != 0" identifier != number_literal) )) (compound_statement "{\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" { (expression_statement "local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);" (assignment_expression "local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" identifier = (cast_expression "(byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (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 "(local_178)" ( identifier ))))) ;) })) (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "uVar6 = 0x18b;" (assignment_expression "uVar6 = 0x18b" identifier = number_literal) ;) (labeled_statement "LAB_002a5df4:\n          param_1 = param_1 + 0x2210;" statement_identifier : (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;)) (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar17 = PTR_s_courses_003a88ec + -0x17c;" (assignment_expression "puVar17 = PTR_s_courses_003a88ec + -0x17c" identifier = (binary_expression "PTR_s_courses_003a88ec + -0x17c" identifier + number_literal)) ;) (expression_statement "uVar18 = 0x1a9;" (assignment_expression "uVar18 = 0x1a9" identifier = number_literal) ;) (expression_statement "unaff_s8 = pbVar12;" (assignment_expression "unaff_s8 = pbVar12" identifier = identifier) ;) (goto_statement "goto LAB_002a5e2c;" goto statement_identifier ;) })) (expression_statement "local_1a0 = (byte *)0x0;" (assignment_expression "local_1a0 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar7 = uVar7 & 0x3f;" (assignment_expression "uVar7 = uVar7 & 0x3f" identifier = (binary_expression "uVar7 & 0x3f" identifier & number_literal)) ;) (do_statement "do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);" do (compound_statement "{\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        }" { (if_statement "if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }" if (parenthesized_expression "(uVar7 < 7)" ( (binary_expression "uVar7 < 7" identifier < number_literal) )) (compound_statement "{\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }" { (expression_statement "puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))()" identifier = (cast_expression "(undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))" ( (pointer_expression "*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590))" * (cast_expression "(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590))" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590))" ( (binary_expression "&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)" (pointer_expression "&_gp_1" & identifier) + (pointer_expression "*(int *)(unaff_s8 + uVar7 * 4 + 0x2590)" * (cast_expression "(int *)(unaff_s8 + uVar7 * 4 + 0x2590)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(unaff_s8 + uVar7 * 4 + 0x2590)" ( (binary_expression "unaff_s8 + uVar7 * 4 + 0x2590" (binary_expression "unaff_s8 + uVar7 * 4" identifier + (binary_expression "uVar7 * 4" identifier * number_literal)) + number_literal) ))))) )))) )) (argument_list "()" ( ))))) ;) (return_statement "return puVar4;" return identifier ;) })) (expression_statement "uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" identifier = (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier )))) ;) (expression_statement "puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;" (assignment_expression "puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c" identifier = identifier) ;) (if_statement "if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }" if (parenthesized_expression "(uVar7 == 0xffffffff)" ( (binary_expression "uVar7 == 0xffffffff" identifier == number_literal) )) (compound_statement "{\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }" { (if_statement "if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "uVar6 = 0x1fb;" (assignment_expression "uVar6 = 0x1fb" identifier = number_literal) ;) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) (goto_statement "goto LAB_002a5df4;" goto statement_identifier ;) })) (expression_statement "uVar7 = uVar7 & 0x3f;" (assignment_expression "uVar7 = uVar7 & 0x3f" identifier = (binary_expression "uVar7 & 0x3f" identifier & number_literal)) ;) }) while (parenthesized_expression "(uVar7 != 7)" ( (binary_expression "uVar7 != 7" identifier != number_literal) )) ;) (if_statement "if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (compound_statement "{\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }" { (if_statement "if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }" if (parenthesized_expression "(uVar38 < 3)" ( (binary_expression "uVar38 < 3" identifier < number_literal) )) (compound_statement "{\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }" { (expression_statement "iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);" (assignment_expression "iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2)" identifier = (call_expression "(*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2)" (parenthesized_expression "(*(code *)PTR_AcquireImageColormap_003a9194)" ( (pointer_expression "*(code *)PTR_AcquireImageColormap_003a9194" * (cast_expression "(code *)PTR_AcquireImageColormap_003a9194" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,0x100,param_2)" ( identifier , number_literal , identifier )))) ;) (if_statement "if (iVar11 != 0) goto LAB_002a6328;" if (parenthesized_expression "(iVar11 != 0)" ( (binary_expression "iVar11 != 0" identifier != number_literal) )) (goto_statement "goto LAB_002a6328;" goto statement_identifier ;)) (labeled_statement "LAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" statement_identifier : (if_statement "if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) }))) (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "uVar6 = 0x246;" (assignment_expression "uVar6 = 0x246" identifier = number_literal) ;) (labeled_statement "LAB_002a705c:\n            param_1 = param_1 + 0x2210;" statement_identifier : (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;)) (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar17 = PTR_LAB_003a88e0 + 0x16f8;" (assignment_expression "puVar17 = PTR_LAB_003a88e0 + 0x16f8" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x16f8" identifier + number_literal)) ;) (expression_statement "uVar18 = 400;" (assignment_expression "uVar18 = 400" identifier = number_literal) ;) (goto_statement "goto LAB_002a5e2c;" goto statement_identifier ;) })) (if_statement "if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }" if (parenthesized_expression "(0 < (int)puVar4[7])" ( (binary_expression "0 < (int)puVar4[7]" number_literal < (cast_expression "(int)puVar4[7]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[7]" identifier [ number_literal ]))) )) (compound_statement "{\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }" { (labeled_statement "LAB_002a5be0:\n            iVar11 = 0;" statement_identifier : (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;)) (expression_statement "dVar45 = *(double *)(puVar16 + -0x5af0);" (assignment_expression "dVar45 = *(double *)(puVar16 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar16 + -0x5af0)" * (cast_expression "(double *)(puVar16 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + -0x5af0)" ( (binary_expression "puVar16 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;" (assignment_expression "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0" identifier + number_literal)) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);" do (compound_statement "{\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            }" { (expression_statement "iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);" (assignment_expression "iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2)" identifier = (call_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2)" (parenthesized_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)" ( (pointer_expression "*(code *)PTR_QueueAuthenticPixels_003a8f24" * (cast_expression "(code *)PTR_QueueAuthenticPixels_003a8f24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,0,uVar8,puVar4[6],1,param_2)" ( identifier , number_literal , identifier , (subscript_expression "puVar4[6]" identifier [ number_literal ]) , number_literal , identifier )))) ;) (if_statement "if (iVar25 == 0) break;" if (parenthesized_expression "(iVar25 == 0)" ( (binary_expression "iVar25 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar35 = puVar4[6];" (assignment_expression "iVar35 = puVar4[6]" identifier = (subscript_expression "puVar4[6]" identifier [ number_literal ])) ;) (expression_statement "iVar34 = 0;" (assignment_expression "iVar34 = 0" identifier = number_literal) ;) (if_statement "if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }" if (parenthesized_expression "(0 < iVar35)" ( (binary_expression "0 < iVar35" number_literal < identifier) )) (compound_statement "{\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }" { (expression_statement "iVar36 = puVar4[0xb4];" (assignment_expression "iVar36 = puVar4[0xb4]" identifier = (subscript_expression "puVar4[0xb4]" identifier [ number_literal ])) ;) (expression_statement "iVar26 = puVar4[0xb0];" (assignment_expression "iVar26 = puVar4[0xb0]" identifier = (subscript_expression "puVar4[0xb0]" identifier [ number_literal ])) ;) (expression_statement "iVar37 = puVar4[0xaf];" (assignment_expression "iVar37 = puVar4[0xaf]" identifier = (subscript_expression "puVar4[0xaf]" identifier [ number_literal ])) ;) (expression_statement "pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);" (assignment_expression "pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4)" identifier = (cast_expression "(float *)(iVar25 + *(int *)(iVar36 + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + *(int *)(iVar36 + 8) * 4)" ( (binary_expression "iVar25 + *(int *)(iVar36 + 8) * 4" identifier + (binary_expression "*(int *)(iVar36 + 8) * 4" (pointer_expression "*(int *)(iVar36 + 8)" * (cast_expression "(int *)(iVar36 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 8)" ( (binary_expression "iVar36 + 8" identifier + number_literal) )))) * number_literal)) )))) ;) (expression_statement "pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);" (assignment_expression "pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4)" identifier = (cast_expression "(float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + *(int *)(iVar36 + 0x14) * 4)" ( (binary_expression "iVar25 + *(int *)(iVar36 + 0x14) * 4" identifier + (binary_expression "*(int *)(iVar36 + 0x14) * 4" (pointer_expression "*(int *)(iVar36 + 0x14)" * (cast_expression "(int *)(iVar36 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 0x14)" ( (binary_expression "iVar36 + 0x14" identifier + number_literal) )))) * number_literal)) )))) ;) (expression_statement "pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);" (assignment_expression "pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4)" identifier = (cast_expression "(float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + *(int *)(iVar36 + 0x20) * 4)" ( (binary_expression "iVar25 + *(int *)(iVar36 + 0x20) * 4" identifier + (binary_expression "*(int *)(iVar36 + 0x20) * 4" (pointer_expression "*(int *)(iVar36 + 0x20)" * (cast_expression "(int *)(iVar36 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 0x20)" ( (binary_expression "iVar36 + 0x20" identifier + number_literal) )))) * number_literal)) )))) ;) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" identifier = identifier) ;) (do_statement "do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);" do (compound_statement "{\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                }" { (expression_statement "*pfVar32 = (float)((double)*pbVar12 * dVar45);" (assignment_expression "*pfVar32 = (float)((double)*pbVar12 * dVar45)" (pointer_expression "*pfVar32" * identifier) = (cast_expression "(float)((double)*pbVar12 * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar12 * dVar45)" ( (binary_expression "(double)*pbVar12 * dVar45" (cast_expression "(double)*pbVar12" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar12" * identifier)) * identifier) )))) ;) (expression_statement "*pfVar28 = (float)((double)pbVar12[1] * dVar45);" (assignment_expression "*pfVar28 = (float)((double)pbVar12[1] * dVar45)" (pointer_expression "*pfVar28" * identifier) = (cast_expression "(float)((double)pbVar12[1] * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar12[1] * dVar45)" ( (binary_expression "(double)pbVar12[1] * dVar45" (cast_expression "(double)pbVar12[1]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar12[1]" identifier [ number_literal ])) * identifier) )))) ;) (expression_statement "*pfVar27 = (float)((double)pbVar12[2] * dVar45);" (assignment_expression "*pfVar27 = (float)((double)pbVar12[2] * dVar45)" (pointer_expression "*pfVar27" * identifier) = (cast_expression "(float)((double)pbVar12[2] * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar12[2] * dVar45)" ( (binary_expression "(double)pbVar12[2] * dVar45" (cast_expression "(double)pbVar12[2]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar12[2]" identifier [ number_literal ])) * identifier) )))) ;) (if_statement "if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }" if (parenthesized_expression "(iVar37 == 0)" ( (binary_expression "iVar37 == 0" identifier == number_literal) )) (compound_statement "{\n                    pbVar15 = pbVar12 + 3;\n                  }" { (expression_statement "pbVar15 = pbVar12 + 3;" (assignment_expression "pbVar15 = pbVar12 + 3" identifier = (binary_expression "pbVar12 + 3" identifier + number_literal)) ;) }) (else_clause "else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }" else (compound_statement "{\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }" { (expression_statement "pbVar15 = pbVar12 + 4;" (assignment_expression "pbVar15 = pbVar12 + 4" identifier = (binary_expression "pbVar12 + 4" identifier + number_literal)) ;) (if_statement "if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }" if (parenthesized_expression "(*(int *)(iVar36 + 0x34) != 0)" ( (binary_expression "*(int *)(iVar36 + 0x34) != 0" (pointer_expression "*(int *)(iVar36 + 0x34)" * (cast_expression "(int *)(iVar36 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 0x34)" ( (binary_expression "iVar36 + 0x34" identifier + number_literal) )))) != number_literal) )) (compound_statement "{\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }" { (expression_statement "*(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);" (assignment_expression "*(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45)" (pointer_expression "*(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4)" * (cast_expression "(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + *(int *)(iVar36 + 0x38) * 4)" ( (binary_expression "iVar25 + *(int *)(iVar36 + 0x38) * 4" identifier + (binary_expression "*(int *)(iVar36 + 0x38) * 4" (pointer_expression "*(int *)(iVar36 + 0x38)" * (cast_expression "(int *)(iVar36 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 0x38)" ( (binary_expression "iVar36 + 0x38" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)((double)pbVar12[3] * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar12[3] * dVar45)" ( (binary_expression "(double)pbVar12[3] * dVar45" (cast_expression "(double)pbVar12[3]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar12[3]" identifier [ number_literal ])) * identifier) )))) ;) })) }))) (expression_statement "iVar34 = iVar34 + 1;" (assignment_expression "iVar34 = iVar34 + 1" identifier = (binary_expression "iVar34 + 1" identifier + number_literal)) ;) (expression_statement "iVar25 = iVar25 + iVar26 * 4;" (assignment_expression "iVar25 = iVar25 + iVar26 * 4" identifier = (binary_expression "iVar25 + iVar26 * 4" identifier + (binary_expression "iVar26 * 4" identifier * number_literal))) ;) (expression_statement "pfVar32 = pfVar32 + iVar26;" (assignment_expression "pfVar32 = pfVar32 + iVar26" identifier = (binary_expression "pfVar32 + iVar26" identifier + identifier)) ;) (expression_statement "pfVar28 = pfVar28 + iVar26;" (assignment_expression "pfVar28 = pfVar28 + iVar26" identifier = (binary_expression "pfVar28 + iVar26" identifier + identifier)) ;) (expression_statement "pfVar27 = pfVar27 + iVar26;" (assignment_expression "pfVar27 = pfVar27 + iVar26" identifier = (binary_expression "pfVar27 + iVar26" identifier + identifier)) ;) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" identifier = identifier) ;) }) while (parenthesized_expression "(iVar34 != iVar35)" ( (binary_expression "iVar34 != iVar35" identifier != identifier) )) ;) })) (expression_statement "iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);" (assignment_expression "iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" identifier = (call_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" (parenthesized_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)" ( (pointer_expression "*(code *)PTR_SyncAuthenticPixels_003a91e4" * (cast_expression "(code *)PTR_SyncAuthenticPixels_003a91e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar25 == 0) break;" if (parenthesized_expression "(iVar25 == 0)" ( (binary_expression "iVar25 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar25 = puVar4[7];" (assignment_expression "iVar25 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) (if_statement "if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }" if (parenthesized_expression "(puVar4[0xcd9] == 0)" ( (binary_expression "puVar4[0xcd9] == 0" (subscript_expression "puVar4[0xcd9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }" { (expression_statement "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);" (assignment_expression "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25)" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25)" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,puVar17,iVar11,uVar8,0,iVar25)" ( identifier , identifier , identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (local_164 == 0) break;" if (parenthesized_expression "(local_164 == 0)" ( (binary_expression "local_164 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar25 = puVar4[7];" (assignment_expression "iVar25 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) })) (expression_statement "uVar7 = uVar8 + 1;" (assignment_expression "uVar7 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = (uint)(uVar7 < uVar8) + iVar11;" (assignment_expression "iVar11 = (uint)(uVar7 < uVar8) + iVar11" identifier = (binary_expression "(uint)(uVar7 < uVar8) + iVar11" (call_expression "(uint)(uVar7 < uVar8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar8)" ( (binary_expression "uVar7 < uVar8" identifier < identifier) ))) + identifier)) ;) (expression_statement "uVar8 = uVar7;" (assignment_expression "uVar8 = uVar7" identifier = identifier) ;) }) while (parenthesized_expression "((int)uVar7 < iVar25)" ( (binary_expression "(int)uVar7 < iVar25" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) ;) (goto_statement "goto LAB_002a5fb4;" goto statement_identifier ;) })) }) (else_clause "else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }" else (compound_statement "{\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }" { (if_statement "if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }" if (parenthesized_expression "(uVar9 == 1)" ( (binary_expression "uVar9 == 1" identifier == number_literal) )) (compound_statement "{\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }" { (if_statement "if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }" if (parenthesized_expression "(0 < (int)local_17c)" ( (binary_expression "0 < (int)local_17c" number_literal < (cast_expression "(int)local_17c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }" { (expression_statement "puVar21 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar21 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar29 = PTR_s_courses_003a88ec + 0x6f4;" (assignment_expression "puVar29 = PTR_s_courses_003a88ec + 0x6f4" identifier = (binary_expression "PTR_s_courses_003a88ec + 0x6f4" identifier + number_literal)) ;) (expression_statement "puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;" (assignment_expression "puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x5990" identifier + number_literal)) ;) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" identifier = identifier) ;) (do_statement "do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);" do (compound_statement "{\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              }" { (expression_statement "uVar8 = (uint)*pbVar12 & uVar24 - 1;" (assignment_expression "uVar8 = (uint)*pbVar12 & uVar24 - 1" identifier = (binary_expression "(uint)*pbVar12 & uVar24 - 1" (binary_expression "(uint)*pbVar12" (parenthesized_expression "(uint)" ( identifier )) * identifier) & (binary_expression "uVar24 - 1" identifier - number_literal))) ;) (if_statement "if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }" if (parenthesized_expression "((int)uVar8 < (int)puVar4[9])" ( (binary_expression "(int)uVar8 < (int)puVar4[9]" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)puVar4[9]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[9]" identifier [ number_literal ]))) )) (compound_statement "{\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }" { (expression_statement "pbVar19 = local_178 + (int)(float)uVar8;" (assignment_expression "pbVar19 = local_178 + (int)(float)uVar8" identifier = (binary_expression "local_178 + (int)(float)uVar8" identifier + (cast_expression "(int)(float)uVar8" ( (type_descriptor "int" primitive_type) ) (cast_expression "(float)uVar8" ( (type_descriptor "float" primitive_type) ) identifier)))) ;) }) (else_clause "else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }" else (compound_statement "{\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }" { (expression_statement "pbVar19 = local_178;" (assignment_expression "pbVar19 = local_178" identifier = identifier) ;) (if_statement "if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }" if (parenthesized_expression "(*param_2 != 0x1a9)" ( (binary_expression "*param_2 != 0x1a9" (pointer_expression "*param_2" * identifier) != number_literal) )) (compound_statement "{\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0)" ( identifier , identifier , (binary_expression "puVar17 + 0x25ac" identifier + number_literal) , number_literal , number_literal , identifier , identifier , (binary_expression "puVar4 + 0xd0" identifier + number_literal) ))) ;) })) }))) (expression_statement "pbVar31 = pbVar12 + 1;" (assignment_expression "pbVar31 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar12 = *pbVar19;" (assignment_expression "*pbVar12 = *pbVar19" (pointer_expression "*pbVar12" * identifier) = (pointer_expression "*pbVar19" * identifier)) ;) (expression_statement "pbVar12 = pbVar31;" (assignment_expression "pbVar12 = pbVar31" identifier = identifier) ;) (expression_statement "unaff_s8 = puVar17;" (assignment_expression "unaff_s8 = puVar17" identifier = identifier) ;) (expression_statement "local_1a0 = pbVar15;" (assignment_expression "local_1a0 = pbVar15" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar31 != pbVar15 + local_17c)" ( (binary_expression "pbVar31 != pbVar15 + local_17c" identifier != (binary_expression "pbVar15 + local_17c" identifier + identifier)) )) ;) })) (if_statement "if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }" if (parenthesized_expression "(2 < uVar38)" ( (binary_expression "2 < uVar38" number_literal < identifier) )) (compound_statement "{\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }" { (expression_statement "iVar11 = puVar4[7];" (assignment_expression "iVar11 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) (goto_statement "goto LAB_002a5bd4;" goto statement_identifier ;) })) (labeled_statement "LAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);" statement_identifier : (expression_statement "iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);" (assignment_expression "iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2)" identifier = (call_expression "(*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2)" (parenthesized_expression "(*(code *)PTR_AcquireImageColormap_003a9194)" ( (pointer_expression "*(code *)PTR_AcquireImageColormap_003a9194" * (cast_expression "(code *)PTR_AcquireImageColormap_003a9194" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,uVar24,param_2)" ( identifier , identifier , identifier )))) ;)) (if_statement "if (iVar11 == 0) goto LAB_002a725c;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002a725c;" goto statement_identifier ;)) (if_statement "if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }" if (parenthesized_expression "(uVar9 == 1)" ( (binary_expression "uVar9 == 1" identifier == number_literal) )) (compound_statement "{\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }" { (expression_statement "uVar8 = puVar4[9];" (assignment_expression "uVar8 = puVar4[9]" identifier = (subscript_expression "puVar4[9]" identifier [ number_literal ])) ;) (if_statement "if ((int)uVar8 < 1) goto LAB_002a6328;" if (parenthesized_expression "((int)uVar8 < 1)" ( (binary_expression "(int)uVar8 < 1" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < number_literal) )) (goto_statement "goto LAB_002a6328;" goto statement_identifier ;)) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "dVar45 = *(double *)(puVar16 + -0x5af0);" (assignment_expression "dVar45 = *(double *)(puVar16 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar16 + -0x5af0)" * (cast_expression "(double *)(puVar16 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + -0x5af0)" ( (binary_expression "puVar16 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "pdVar20 = (double *)(puVar4[10] + 0x28);" (assignment_expression "pdVar20 = (double *)(puVar4[10] + 0x28)" identifier = (cast_expression "(double *)(puVar4[10] + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4[10] + 0x28)" ( (binary_expression "puVar4[10] + 0x28" (subscript_expression "puVar4[10]" identifier [ number_literal ]) + number_literal) )))) ;) (do_statement "do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);" do (compound_statement "{\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              }" { (expression_statement "uVar10 = uVar7 & 0xff;" (assignment_expression "uVar10 = uVar7 & 0xff" identifier = (binary_expression "uVar7 & 0xff" identifier & number_literal)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) (expression_statement "dVar42 = (double)(float)((double)uVar10 * dVar45);" (assignment_expression "dVar42 = (double)(float)((double)uVar10 * dVar45)" identifier = (cast_expression "(double)(float)((double)uVar10 * dVar45)" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)((double)uVar10 * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)uVar10 * dVar45)" ( (binary_expression "(double)uVar10 * dVar45" (cast_expression "(double)uVar10" ( (type_descriptor "double" primitive_type) ) identifier) * identifier) ))))) ;) (expression_statement "*pdVar20 = dVar42;" (assignment_expression "*pdVar20 = dVar42" (pointer_expression "*pdVar20" * identifier) = identifier) ;) (expression_statement "pdVar20[1] = dVar42;" (assignment_expression "pdVar20[1] = dVar42" (subscript_expression "pdVar20[1]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pdVar20[2] = dVar42;" (assignment_expression "pdVar20[2] = dVar42" (subscript_expression "pdVar20[2]" identifier [ number_literal ]) = identifier) ;) (expression_statement "pdVar20 = pdVar20 + 0xb;" (assignment_expression "pdVar20 = pdVar20 + 0xb" identifier = (binary_expression "pdVar20 + 0xb" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar8 != uVar7)" ( (binary_expression "uVar8 != uVar7" identifier != identifier) )) ;) (expression_statement "iVar11 = puVar4[0xaf];" (assignment_expression "iVar11 = puVar4[0xaf]" identifier = (subscript_expression "puVar4[0xaf]" identifier [ number_literal ])) ;) }) (else_clause "else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }" else (compound_statement "{\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }" { (expression_statement "iVar11 = puVar4[9];" (assignment_expression "iVar11 = puVar4[9]" identifier = (subscript_expression "puVar4[9]" identifier [ number_literal ])) ;) (if_statement "if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }" if (parenthesized_expression "(iVar11 < 1)" ( (binary_expression "iVar11 < 1" identifier < number_literal) )) (compound_statement "{\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }" { (labeled_statement "LAB_002a6328:\n                iVar11 = puVar4[0xaf];" statement_identifier : (expression_statement "iVar11 = puVar4[0xaf];" (assignment_expression "iVar11 = puVar4[0xaf]" identifier = (subscript_expression "puVar4[0xaf]" identifier [ number_literal ])) ;)) }) (else_clause "else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }" else (compound_statement "{\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }" { (expression_statement "dVar45 = *(double *)(puVar16 + -0x5af0);" (assignment_expression "dVar45 = *(double *)(puVar16 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar16 + -0x5af0)" * (cast_expression "(double *)(puVar16 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + -0x5af0)" ( (binary_expression "puVar16 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "pdVar20 = (double *)(puVar4[10] + 0x28);" (assignment_expression "pdVar20 = (double *)(puVar4[10] + 0x28)" identifier = (cast_expression "(double *)(puVar4[10] + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar4[10] + 0x28)" ( (binary_expression "puVar4[10] + 0x28" (subscript_expression "puVar4[10]" identifier [ number_literal ]) + number_literal) )))) ;) (expression_statement "pbVar12 = local_178 + uVar24;" (assignment_expression "pbVar12 = local_178 + uVar24" identifier = (binary_expression "local_178 + uVar24" identifier + identifier)) ;) (expression_statement "pbVar19 = local_178 + (2 << (uVar10 & 0x1f));" (assignment_expression "pbVar19 = local_178 + (2 << (uVar10 & 0x1f))" identifier = (binary_expression "local_178 + (2 << (uVar10 & 0x1f))" identifier + (parenthesized_expression "(2 << (uVar10 & 0x1f))" ( (binary_expression "2 << (uVar10 & 0x1f)" number_literal << (parenthesized_expression "(uVar10 & 0x1f)" ( (binary_expression "uVar10 & 0x1f" identifier & number_literal) ))) )))) ;) (expression_statement "pbVar31 = local_178;" (assignment_expression "pbVar31 = local_178" identifier = identifier) ;) (do_statement "do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);" do (compound_statement "{\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                }" { (expression_statement "bVar23 = *pbVar31;" (assignment_expression "bVar23 = *pbVar31" identifier = (pointer_expression "*pbVar31" * identifier)) ;) (expression_statement "pbVar40 = pbVar12 + 1;" (assignment_expression "pbVar40 = pbVar12 + 1" identifier = (binary_expression "pbVar12 + 1" identifier + number_literal)) ;) (expression_statement "pbVar31 = pbVar31 + 1;" (assignment_expression "pbVar31 = pbVar31 + 1" identifier = (binary_expression "pbVar31 + 1" identifier + number_literal)) ;) (expression_statement "*pdVar20 = (double)(float)((double)bVar23 * dVar45);" (assignment_expression "*pdVar20 = (double)(float)((double)bVar23 * dVar45)" (pointer_expression "*pdVar20" * identifier) = (cast_expression "(double)(float)((double)bVar23 * dVar45)" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)((double)bVar23 * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)bVar23 * dVar45)" ( (binary_expression "(double)bVar23 * dVar45" (cast_expression "(double)bVar23" ( (type_descriptor "double" primitive_type) ) identifier) * identifier) ))))) ;) (expression_statement "pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);" (assignment_expression "pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45)" (subscript_expression "pdVar20[1]" identifier [ number_literal ]) = (cast_expression "(double)(float)((double)*pbVar12 * dVar45)" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)((double)*pbVar12 * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar12 * dVar45)" ( (binary_expression "(double)*pbVar12 * dVar45" (cast_expression "(double)*pbVar12" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar12" * identifier)) * identifier) ))))) ;) (expression_statement "pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);" (assignment_expression "pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45)" (subscript_expression "pdVar20[2]" identifier [ number_literal ]) = (cast_expression "(double)(float)((double)*pbVar19 * dVar45)" ( (type_descriptor "double" primitive_type) ) (cast_expression "(float)((double)*pbVar19 * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)*pbVar19 * dVar45)" ( (binary_expression "(double)*pbVar19 * dVar45" (cast_expression "(double)*pbVar19" ( (type_descriptor "double" primitive_type) ) (pointer_expression "*pbVar19" * identifier)) * identifier) ))))) ;) (expression_statement "pdVar20 = pdVar20 + 0xb;" (assignment_expression "pdVar20 = pdVar20 + 0xb" identifier = (binary_expression "pdVar20 + 0xb" identifier + number_literal)) ;) (expression_statement "pbVar12 = pbVar40;" (assignment_expression "pbVar12 = pbVar40" identifier = identifier) ;) (expression_statement "pbVar19 = pbVar19 + 1;" (assignment_expression "pbVar19 = pbVar19 + 1" identifier = (binary_expression "pbVar19 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(pbVar40 != local_178 + iVar11 + uVar24)" ( (binary_expression "pbVar40 != local_178 + iVar11 + uVar24" identifier != (binary_expression "local_178 + iVar11 + uVar24" (binary_expression "local_178 + iVar11" identifier + identifier) + identifier)) )) ;) (expression_statement "iVar11 = puVar4[0xaf];" (assignment_expression "iVar11 = puVar4[0xaf]" identifier = (subscript_expression "puVar4[0xaf]" identifier [ number_literal ])) ;) }))) }))) (expression_statement "puVar17 = PTR_s_t_to_left_003a88e4;" (assignment_expression "puVar17 = PTR_s_t_to_left_003a88e4" identifier = identifier) ;) (if_statement "if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (compound_statement "{\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }" { (if_statement "if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }" if (parenthesized_expression "(0 < (int)puVar4[7])" ( (binary_expression "0 < (int)puVar4[7]" number_literal < (cast_expression "(int)puVar4[7]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[7]" identifier [ number_literal ]))) )) (compound_statement "{\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }" { (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" identifier = number_literal) ;) (expression_statement "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;" (assignment_expression "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0" identifier + number_literal)) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (do_statement "do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);" do (compound_statement "{\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                }" { (expression_statement "iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);" (assignment_expression "iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2)" identifier = (call_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2)" (parenthesized_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)" ( (pointer_expression "*(code *)PTR_QueueAuthenticPixels_003a8f24" * (cast_expression "(code *)PTR_QueueAuthenticPixels_003a8f24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,0,uVar8,puVar4[6],1,param_2)" ( identifier , number_literal , identifier , (subscript_expression "puVar4[6]" identifier [ number_literal ]) , number_literal , identifier )))) ;) (if_statement "if (iVar25 == 0) break;" if (parenthesized_expression "(iVar25 == 0)" ( (binary_expression "iVar25 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "pbVar12 = pbVar15 + puVar4[6];" (assignment_expression "pbVar12 = pbVar15 + puVar4[6]" identifier = (binary_expression "pbVar15 + puVar4[6]" identifier + (subscript_expression "puVar4[6]" identifier [ number_literal ]))) ;) (if_statement "if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }" if (parenthesized_expression "(0 < (int)puVar4[6])" ( (binary_expression "0 < (int)puVar4[6]" number_literal < (cast_expression "(int)puVar4[6]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[6]" identifier [ number_literal ]))) )) (compound_statement "{\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }" { (expression_statement "iVar26 = puVar4[0xb4];" (assignment_expression "iVar26 = puVar4[0xb4]" identifier = (subscript_expression "puVar4[0xb4]" identifier [ number_literal ])) ;) (expression_statement "iVar34 = puVar4[0xb0];" (assignment_expression "iVar34 = puVar4[0xb0]" identifier = (subscript_expression "puVar4[0xb0]" identifier [ number_literal ])) ;) (expression_statement "iVar35 = *(int *)(iVar26 + 0x40);" (assignment_expression "iVar35 = *(int *)(iVar26 + 0x40)" identifier = (pointer_expression "*(int *)(iVar26 + 0x40)" * (cast_expression "(int *)(iVar26 + 0x40)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar26 + 0x40)" ( (binary_expression "iVar26 + 0x40" identifier + number_literal) ))))) ;) (expression_statement "pbVar19 = pbVar15;" (assignment_expression "pbVar19 = pbVar15" identifier = identifier) ;) (do_statement "do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);" do (compound_statement "{\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    }" { (expression_statement "pbVar15 = pbVar19 + 1;" (assignment_expression "pbVar15 = pbVar19 + 1" identifier = (binary_expression "pbVar19 + 1" identifier + number_literal)) ;) (if_statement "if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }" if (parenthesized_expression "(iVar35 != 0)" ( (binary_expression "iVar35 != 0" identifier != number_literal) )) (compound_statement "{\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }" { (expression_statement "*(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;" (assignment_expression "*(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19" (pointer_expression "*(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4)" * (cast_expression "(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar25 + *(int *)(iVar26 + 0x44) * 4)" ( (binary_expression "iVar25 + *(int *)(iVar26 + 0x44) * 4" identifier + (binary_expression "*(int *)(iVar26 + 0x44) * 4" (pointer_expression "*(int *)(iVar26 + 0x44)" * (cast_expression "(int *)(iVar26 + 0x44)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar26 + 0x44)" ( (binary_expression "iVar26 + 0x44" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)*pbVar19" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*pbVar19" * identifier))) ;) })) (expression_statement "iVar25 = iVar25 + iVar34 * 4;" (assignment_expression "iVar25 = iVar25 + iVar34 * 4" identifier = (binary_expression "iVar25 + iVar34 * 4" identifier + (binary_expression "iVar34 * 4" identifier * number_literal))) ;) (expression_statement "pbVar19 = pbVar15;" (assignment_expression "pbVar19 = pbVar15" identifier = identifier) ;) }) while (parenthesized_expression "(pbVar12 != pbVar15)" ( (binary_expression "pbVar12 != pbVar15" identifier != identifier) )) ;) })) (expression_statement "iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);" (assignment_expression "iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" identifier = (call_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" (parenthesized_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)" ( (pointer_expression "*(code *)PTR_SyncAuthenticPixels_003a91e4" * (cast_expression "(code *)PTR_SyncAuthenticPixels_003a91e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar25 == 0) break;" if (parenthesized_expression "(iVar25 == 0)" ( (binary_expression "iVar25 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar25 = puVar4[7];" (assignment_expression "iVar25 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) (if_statement "if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }" if (parenthesized_expression "(puVar4[0xcd9] == 0)" ( (binary_expression "puVar4[0xcd9] == 0" (subscript_expression "puVar4[0xcd9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }" { (expression_statement "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);" (assignment_expression "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25)" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25)" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,puVar17,iVar11,uVar8,0,iVar25)" ( identifier , identifier , identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (local_164 == 0) break;" if (parenthesized_expression "(local_164 == 0)" ( (binary_expression "local_164 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar25 = puVar4[7];" (assignment_expression "iVar25 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) })) (expression_statement "uVar7 = uVar8 + 1;" (assignment_expression "uVar7 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = (uint)(uVar7 < uVar8) + iVar11;" (assignment_expression "iVar11 = (uint)(uVar7 < uVar8) + iVar11" identifier = (binary_expression "(uint)(uVar7 < uVar8) + iVar11" (call_expression "(uint)(uVar7 < uVar8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar8)" ( (binary_expression "uVar7 < uVar8" identifier < identifier) ))) + identifier)) ;) (expression_statement "uVar8 = uVar7;" (assignment_expression "uVar8 = uVar7" identifier = identifier) ;) }) while (parenthesized_expression "((int)uVar7 < iVar25)" ( (binary_expression "(int)uVar7 < iVar25" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) ;) })) (expression_statement "(*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);" (call_expression "(*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2)" (parenthesized_expression "(*(code *)PTR_SyncImage_003a8d84)" ( (pointer_expression "*(code *)PTR_SyncImage_003a8d84" * (cast_expression "(code *)PTR_SyncImage_003a8d84" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,param_2)" ( identifier , identifier ))) ;) }) (else_clause "else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }" else (compound_statement "{\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }" { (if_statement "if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }" if (parenthesized_expression "(0 < (int)puVar4[7])" ( (binary_expression "0 < (int)puVar4[7]" number_literal < (cast_expression "(int)puVar4[7]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[7]" identifier [ number_literal ]))) )) (compound_statement "{\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }" { (expression_statement "dVar45 = *(double *)(puVar16 + -0x5af0);" (assignment_expression "dVar45 = *(double *)(puVar16 + -0x5af0)" identifier = (pointer_expression "*(double *)(puVar16 + -0x5af0)" * (cast_expression "(double *)(puVar16 + -0x5af0)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(puVar16 + -0x5af0)" ( (binary_expression "puVar16 + -0x5af0" identifier + number_literal) ))))) ;) (expression_statement "puVar33 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar33 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac" identifier + number_literal)) ;) (expression_statement "local_1a0 = (byte *)0x0;" (assignment_expression "local_1a0 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" identifier = number_literal) ;) (expression_statement "unaff_s8 = pbVar15;" (assignment_expression "unaff_s8 = pbVar15" identifier = identifier) ;) (do_statement "do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);" do (compound_statement "{\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                }" { (expression_statement "iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);" (assignment_expression "iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2)" identifier = (call_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2)" (parenthesized_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)" ( (pointer_expression "*(code *)PTR_QueueAuthenticPixels_003a8f24" * (cast_expression "(code *)PTR_QueueAuthenticPixels_003a8f24" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,0,uVar8,puVar4[6],1,param_2)" ( identifier , number_literal , identifier , (subscript_expression "puVar4[6]" identifier [ number_literal ]) , number_literal , identifier )))) ;) (expression_statement "puVar21 = PTR_s_courses_003a88ec;" (assignment_expression "puVar21 = PTR_s_courses_003a88ec" identifier = identifier) ;) (if_statement "if (iVar11 == 0) break;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (if_statement "if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }" if (parenthesized_expression "(0 < (int)puVar4[6])" ( (binary_expression "0 < (int)puVar4[6]" number_literal < (cast_expression "(int)puVar4[6]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[6]" identifier [ number_literal ]))) )) (compound_statement "{\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }" { (expression_statement "iVar25 = 0;" (assignment_expression "iVar25 = 0" identifier = number_literal) ;) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) (do_statement "do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);" do (compound_statement "{\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    }" { (expression_statement "iVar34 = puVar4[9];" (assignment_expression "iVar34 = puVar4[9]" identifier = (subscript_expression "puVar4[9]" identifier [ number_literal ])) ;) (if_statement "if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }" if (parenthesized_expression "((int)(uint)*pbVar12 < iVar34)" ( (binary_expression "(int)(uint)*pbVar12 < iVar34" (binary_expression "(int)(uint)*pbVar12" (cast_expression "(int)(uint)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(uint)" ( identifier ))) * identifier) < identifier) )) (compound_statement "{\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }" { (expression_statement "iVar35 = (int)(float)*pbVar12 * 0x58;" (assignment_expression "iVar35 = (int)(float)*pbVar12 * 0x58" identifier = (binary_expression "(int)(float)*pbVar12 * 0x58" (cast_expression "(int)(float)*pbVar12" ( (type_descriptor "int" primitive_type) ) (cast_expression "(float)*pbVar12" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*pbVar12" * identifier))) * number_literal)) ;) }) (else_clause "else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }" else (if_statement "if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }" if (parenthesized_expression "(*param_2 == 0x1a9)" ( (binary_expression "*param_2 == 0x1a9" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n                        iVar35 = 0;\n                      }" { (expression_statement "iVar35 = 0;" (assignment_expression "iVar35 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }" else (compound_statement "{\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" ( identifier , (binary_expression "puVar21 + 0x6f4" identifier + number_literal) , identifier , number_literal , number_literal , (binary_expression "puVar17 + -0x5990" identifier + number_literal) , identifier , (binary_expression "puVar4 + 0xd0" identifier + number_literal) ))) ;) (expression_statement "iVar35 = 0;" (assignment_expression "iVar35 = 0" identifier = number_literal) ;) (expression_statement "iVar34 = puVar4[9];" (assignment_expression "iVar34 = puVar4[9]" identifier = (subscript_expression "puVar4[9]" identifier [ number_literal ])) ;) }))))) (expression_statement "iVar26 = puVar4[10];" (assignment_expression "iVar26 = puVar4[10]" identifier = (subscript_expression "puVar4[10]" identifier [ number_literal ])) ;) (expression_statement "iVar36 = puVar4[0xb4];" (assignment_expression "iVar36 = puVar4[0xb4]" identifier = (subscript_expression "puVar4[0xb4]" identifier [ number_literal ])) ;) (expression_statement "*(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);" (assignment_expression "*(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28)" (pointer_expression "*(float *)(iVar11 + *(int *)(iVar36 + 8) * 4)" * (cast_expression "(float *)(iVar11 + *(int *)(iVar36 + 8) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + *(int *)(iVar36 + 8) * 4)" ( (binary_expression "iVar11 + *(int *)(iVar36 + 8) * 4" identifier + (binary_expression "*(int *)(iVar36 + 8) * 4" (pointer_expression "*(int *)(iVar36 + 8)" * (cast_expression "(int *)(iVar36 + 8)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 8)" ( (binary_expression "iVar36 + 8" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)*(double *)(iVar26 + iVar35 + 0x28)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(iVar26 + iVar35 + 0x28)" * (cast_expression "(double *)(iVar26 + iVar35 + 0x28)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar26 + iVar35 + 0x28)" ( (binary_expression "iVar26 + iVar35 + 0x28" (binary_expression "iVar26 + iVar35" identifier + identifier) + number_literal) )))))) ;) (if_statement "if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }" if (parenthesized_expression "((int)(uint)pbVar12[1] < iVar34)" ( (binary_expression "(int)(uint)pbVar12[1] < iVar34" (cast_expression "(int)(uint)pbVar12[1]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(uint)pbVar12[1]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar12[1]" identifier [ number_literal ]))) < identifier) )) (compound_statement "{\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }" { (expression_statement "iVar35 = (int)(float)pbVar12[1] * 0x58;" (assignment_expression "iVar35 = (int)(float)pbVar12[1] * 0x58" identifier = (binary_expression "(int)(float)pbVar12[1] * 0x58" (cast_expression "(int)(float)pbVar12[1]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(float)pbVar12[1]" ( (type_descriptor "float" primitive_type) ) (subscript_expression "pbVar12[1]" identifier [ number_literal ]))) * number_literal)) ;) }) (else_clause "else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }" else (if_statement "if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }" if (parenthesized_expression "(*param_2 == 0x1a9)" ( (binary_expression "*param_2 == 0x1a9" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n                        iVar35 = 0;\n                      }" { (expression_statement "iVar35 = 0;" (assignment_expression "iVar35 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }" else (compound_statement "{\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" ( identifier , (binary_expression "puVar21 + 0x6f4" identifier + number_literal) , identifier , number_literal , number_literal , (binary_expression "puVar17 + -0x5990" identifier + number_literal) , identifier , (binary_expression "puVar4 + 0xd0" identifier + number_literal) ))) ;) (expression_statement "iVar35 = 0;" (assignment_expression "iVar35 = 0" identifier = number_literal) ;) (expression_statement "iVar26 = puVar4[10];" (assignment_expression "iVar26 = puVar4[10]" identifier = (subscript_expression "puVar4[10]" identifier [ number_literal ])) ;) (expression_statement "iVar34 = puVar4[9];" (assignment_expression "iVar34 = puVar4[9]" identifier = (subscript_expression "puVar4[9]" identifier [ number_literal ])) ;) (expression_statement "iVar36 = puVar4[0xb4];" (assignment_expression "iVar36 = puVar4[0xb4]" identifier = (subscript_expression "puVar4[0xb4]" identifier [ number_literal ])) ;) }))))) (expression_statement "*(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);" (assignment_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30)" (pointer_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4)" * (cast_expression "(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + *(int *)(iVar36 + 0x14) * 4)" ( (binary_expression "iVar11 + *(int *)(iVar36 + 0x14) * 4" identifier + (binary_expression "*(int *)(iVar36 + 0x14) * 4" (pointer_expression "*(int *)(iVar36 + 0x14)" * (cast_expression "(int *)(iVar36 + 0x14)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 0x14)" ( (binary_expression "iVar36 + 0x14" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)*(double *)(iVar26 + iVar35 + 0x30)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(iVar26 + iVar35 + 0x30)" * (cast_expression "(double *)(iVar26 + iVar35 + 0x30)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar26 + iVar35 + 0x30)" ( (binary_expression "iVar26 + iVar35 + 0x30" (binary_expression "iVar26 + iVar35" identifier + identifier) + number_literal) )))))) ;) (if_statement "if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }" if (parenthesized_expression "((int)(uint)pbVar12[2] < iVar34)" ( (binary_expression "(int)(uint)pbVar12[2] < iVar34" (cast_expression "(int)(uint)pbVar12[2]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(uint)pbVar12[2]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "pbVar12[2]" identifier [ number_literal ]))) < identifier) )) (compound_statement "{\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }" { (expression_statement "iVar34 = (int)(float)pbVar12[2] * 0x58;" (assignment_expression "iVar34 = (int)(float)pbVar12[2] * 0x58" identifier = (binary_expression "(int)(float)pbVar12[2] * 0x58" (cast_expression "(int)(float)pbVar12[2]" ( (type_descriptor "int" primitive_type) ) (cast_expression "(float)pbVar12[2]" ( (type_descriptor "float" primitive_type) ) (subscript_expression "pbVar12[2]" identifier [ number_literal ]))) * number_literal)) ;) }) (else_clause "else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }" else (if_statement "if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }" if (parenthesized_expression "(*param_2 == 0x1a9)" ( (binary_expression "*param_2 == 0x1a9" (pointer_expression "*param_2" * identifier) == number_literal) )) (compound_statement "{\n                        iVar34 = 0;\n                      }" { (expression_statement "iVar34 = 0;" (assignment_expression "iVar34 = 0" identifier = number_literal) ;) }) (else_clause "else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }" else (compound_statement "{\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" ( identifier , (binary_expression "puVar21 + 0x6f4" identifier + number_literal) , identifier , number_literal , number_literal , (binary_expression "puVar17 + -0x5990" identifier + number_literal) , identifier , (binary_expression "puVar4 + 0xd0" identifier + number_literal) ))) ;) (expression_statement "iVar34 = 0;" (assignment_expression "iVar34 = 0" identifier = number_literal) ;) (expression_statement "iVar26 = puVar4[10];" (assignment_expression "iVar26 = puVar4[10]" identifier = (subscript_expression "puVar4[10]" identifier [ number_literal ])) ;) (expression_statement "iVar36 = puVar4[0xb4];" (assignment_expression "iVar36 = puVar4[0xb4]" identifier = (subscript_expression "puVar4[0xb4]" identifier [ number_literal ])) ;) }))))) (expression_statement "iVar35 = *(int *)(iVar36 + 0x34);" (assignment_expression "iVar35 = *(int *)(iVar36 + 0x34)" identifier = (pointer_expression "*(int *)(iVar36 + 0x34)" * (cast_expression "(int *)(iVar36 + 0x34)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 0x34)" ( (binary_expression "iVar36 + 0x34" identifier + number_literal) ))))) ;) (expression_statement "unaff_s8 = pbVar12 + 4;" (assignment_expression "unaff_s8 = pbVar12 + 4" identifier = (binary_expression "pbVar12 + 4" identifier + number_literal)) ;) (expression_statement "*(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);" (assignment_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38)" (pointer_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4)" * (cast_expression "(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + *(int *)(iVar36 + 0x20) * 4)" ( (binary_expression "iVar11 + *(int *)(iVar36 + 0x20) * 4" identifier + (binary_expression "*(int *)(iVar36 + 0x20) * 4" (pointer_expression "*(int *)(iVar36 + 0x20)" * (cast_expression "(int *)(iVar36 + 0x20)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 0x20)" ( (binary_expression "iVar36 + 0x20" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)*(double *)(iVar26 + iVar34 + 0x38)" ( (type_descriptor "float" primitive_type) ) (pointer_expression "*(double *)(iVar26 + iVar34 + 0x38)" * (cast_expression "(double *)(iVar26 + iVar34 + 0x38)" ( (type_descriptor "double *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar26 + iVar34 + 0x38)" ( (binary_expression "iVar26 + iVar34 + 0x38" (binary_expression "iVar26 + iVar34" identifier + identifier) + number_literal) )))))) ;) (if_statement "if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }" if (parenthesized_expression "(iVar35 != 0)" ( (binary_expression "iVar35 != 0" identifier != number_literal) )) (compound_statement "{\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }" { (expression_statement "*(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);" (assignment_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45)" (pointer_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4)" * (cast_expression "(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4)" ( (type_descriptor "float *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar11 + *(int *)(iVar36 + 0x38) * 4)" ( (binary_expression "iVar11 + *(int *)(iVar36 + 0x38) * 4" identifier + (binary_expression "*(int *)(iVar36 + 0x38) * 4" (pointer_expression "*(int *)(iVar36 + 0x38)" * (cast_expression "(int *)(iVar36 + 0x38)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(iVar36 + 0x38)" ( (binary_expression "iVar36 + 0x38" identifier + number_literal) )))) * number_literal)) )))) = (cast_expression "(float)((double)pbVar12[3] * dVar45)" ( (type_descriptor "float" primitive_type) ) (parenthesized_expression "((double)pbVar12[3] * dVar45)" ( (binary_expression "(double)pbVar12[3] * dVar45" (cast_expression "(double)pbVar12[3]" ( (type_descriptor "double" primitive_type) ) (subscript_expression "pbVar12[3]" identifier [ number_literal ])) * identifier) )))) ;) })) (expression_statement "iVar25 = iVar25 + 1;" (assignment_expression "iVar25 = iVar25 + 1" identifier = (binary_expression "iVar25 + 1" identifier + number_literal)) ;) (expression_statement "iVar11 = iVar11 + puVar4[0xb0] * 4;" (assignment_expression "iVar11 = iVar11 + puVar4[0xb0] * 4" identifier = (binary_expression "iVar11 + puVar4[0xb0] * 4" identifier + (binary_expression "puVar4[0xb0] * 4" (subscript_expression "puVar4[0xb0]" identifier [ number_literal ]) * number_literal))) ;) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) }) while (parenthesized_expression "(iVar25 < (int)puVar4[6])" ( (binary_expression "iVar25 < (int)puVar4[6]" identifier < (cast_expression "(int)puVar4[6]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[6]" identifier [ number_literal ]))) )) ;) })) (expression_statement "iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);" (assignment_expression "iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" identifier = (call_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" (parenthesized_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)" ( (pointer_expression "*(code *)PTR_SyncAuthenticPixels_003a91e4" * (cast_expression "(code *)PTR_SyncAuthenticPixels_003a91e4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,param_2)" ( identifier , identifier )))) ;) (if_statement "if (iVar11 == 0) break;" if (parenthesized_expression "(iVar11 == 0)" ( (binary_expression "iVar11 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar11 = puVar4[7];" (assignment_expression "iVar11 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) (if_statement "if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }" if (parenthesized_expression "(puVar4[0xcd9] == 0)" ( (binary_expression "puVar4[0xcd9] == 0" (subscript_expression "puVar4[0xcd9]" identifier [ number_literal ]) == number_literal) )) (compound_statement "{\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }" { (expression_statement "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);" (assignment_expression "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11)" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11)" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11)" ( identifier , (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0" identifier + number_literal) , identifier , identifier , number_literal , identifier )))) ;) (if_statement "if (local_164 == 0) break;" if (parenthesized_expression "(local_164 == 0)" ( (binary_expression "local_164 == 0" identifier == number_literal) )) (break_statement "break;" break ;)) (expression_statement "iVar11 = puVar4[7];" (assignment_expression "iVar11 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) })) (expression_statement "uVar7 = uVar8 + 1;" (assignment_expression "uVar7 = uVar8 + 1" identifier = (binary_expression "uVar8 + 1" identifier + number_literal)) ;) (expression_statement "local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);" (assignment_expression "local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0)" identifier = (cast_expression "(byte *)((uint)(uVar7 < uVar8) + (int)local_1a0)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "((uint)(uVar7 < uVar8) + (int)local_1a0)" ( (binary_expression "(uint)(uVar7 < uVar8) + (int)local_1a0" (call_expression "(uint)(uVar7 < uVar8)" (parenthesized_expression "(uint)" ( identifier )) (argument_list "(uVar7 < uVar8)" ( (binary_expression "uVar7 < uVar8" identifier < identifier) ))) + (cast_expression "(int)local_1a0" ( (type_descriptor "int" primitive_type) ) identifier)) )))) ;) (expression_statement "uVar8 = uVar7;" (assignment_expression "uVar8 = uVar7" identifier = identifier) ;) }) while (parenthesized_expression "((int)uVar7 < iVar11)" ( (binary_expression "(int)uVar7 < iVar11" (cast_expression "(int)uVar7" ( (type_descriptor "int" primitive_type) ) identifier) < identifier) )) ;) })) (expression_statement "uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);" (assignment_expression "uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10])" identifier = (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10])" (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 "(puVar4[10])" ( (subscript_expression "puVar4[10]" identifier [ number_literal ]) )))) ;) (expression_statement "puVar4[10] = uVar6;" (assignment_expression "puVar4[10] = uVar6" (subscript_expression "puVar4[10]" identifier [ number_literal ]) = identifier) ;) (expression_statement "puVar4[9] = 0;" (assignment_expression "puVar4[9] = 0" (subscript_expression "puVar4[9]" identifier [ number_literal ]) = number_literal) ;) (expression_statement "*puVar4 = 1;" (assignment_expression "*puVar4 = 1" (pointer_expression "*puVar4" * identifier) = number_literal) ;) }))) (labeled_statement "LAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;" statement_identifier : (if_statement "if (uVar9 == 0) goto LAB_002a5fc4;" if (parenthesized_expression "(uVar9 == 0)" ( (binary_expression "uVar9 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002a5fc4;" goto statement_identifier ;))) }) (else_clause "else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }" else (compound_statement "{\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }" { (if_statement "if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }" if (parenthesized_expression "(uVar38 < 3)" ( (binary_expression "uVar38 < 3" identifier < number_literal) )) (compound_statement "{\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }" { (if_statement "if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }" if (parenthesized_expression "((int)uVar8 < (int)local_17c)" ( (binary_expression "(int)uVar8 < (int)local_17c" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)local_17c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }" { (labeled_statement "LAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }" statement_identifier : (if_statement "if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) }))) (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))) ;) (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" identifier = (binary_expression "param_1 + 0x2210" identifier + number_literal)) ;) (expression_statement "uVar6 = 0x21a;" (assignment_expression "uVar6 = 0x21a" identifier = number_literal) ;) (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;" (assignment_expression "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc" identifier = (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc" identifier + number_literal)) ;) (expression_statement "uVar18 = 0x1a9;" (assignment_expression "uVar18 = 0x1a9" identifier = number_literal) ;) (goto_statement "goto LAB_002a5e2c;" goto statement_identifier ;) })) (goto_statement "goto LAB_002a6aa4;" goto statement_identifier ;) })) (if_statement "if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }" if (parenthesized_expression "(uVar9 == 2)" ( (binary_expression "uVar9 == 2" identifier == number_literal) )) (compound_statement "{\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }" { (if_statement "if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;" if (parenthesized_expression "((int)uVar8 < (int)local_17c)" ( (binary_expression "(int)uVar8 < (int)local_17c" (cast_expression "(int)uVar8" ( (type_descriptor "int" primitive_type) ) identifier) < (cast_expression "(int)local_17c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (goto_statement "goto LAB_002a74c4;" goto statement_identifier ;)) }) (else_clause "else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }" else (if_statement "if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }" if (parenthesized_expression "(0 < (int)local_17c)" ( (binary_expression "0 < (int)local_17c" number_literal < (cast_expression "(int)local_17c" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }" { (expression_statement "uVar8 = 1;" (assignment_expression "uVar8 = 1" identifier = number_literal) ;) (if_statement "if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }" if (parenthesized_expression "(0 < (int)uVar38)" ( (binary_expression "0 < (int)uVar38" number_literal < (cast_expression "(int)uVar38" ( (type_descriptor "int" primitive_type) ) identifier)) )) (compound_statement "{\n                uVar8 = uVar38;\n              }" { (expression_statement "uVar8 = uVar38;" (assignment_expression "uVar8 = uVar38" identifier = identifier) ;) })) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" identifier = number_literal) ;) (expression_statement "puVar29 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar29 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;) (expression_statement "puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;" (assignment_expression "puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990" identifier = (binary_expression "PTR_s_t_to_left_003a88e4 + -0x5990" identifier + number_literal)) ;) (expression_statement "puVar21 = PTR_s_courses_003a88ec + 0x6f4;" (assignment_expression "puVar21 = PTR_s_courses_003a88ec + 0x6f4" identifier = (binary_expression "PTR_s_courses_003a88ec + 0x6f4" identifier + number_literal)) ;) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" identifier = identifier) ;) (do_statement "do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);" do (compound_statement "{\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              }" { (expression_statement "unaff_s8 = (byte *)0x0;" (assignment_expression "unaff_s8 = (byte *)0x0" identifier = (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "pbVar19 = pbVar12;" (assignment_expression "pbVar19 = pbVar12" identifier = identifier) ;) (do_statement "do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);" do (compound_statement "{\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                }" { (if_statement "if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }" if (parenthesized_expression "((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9])" ( (binary_expression "(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]" (cast_expression "(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" ( (binary_expression "unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)" identifier + (parenthesized_expression "((uint)*pbVar19 & uVar24 - 1)" ( (binary_expression "(uint)*pbVar19 & uVar24 - 1" (binary_expression "(uint)*pbVar19" (parenthesized_expression "(uint)" ( identifier )) * identifier) & (binary_expression "uVar24 - 1" identifier - number_literal)) ))) ))) < (cast_expression "(int)puVar4[9]" ( (type_descriptor "int" primitive_type) ) (subscript_expression "puVar4[9]" identifier [ number_literal ]))) )) (compound_statement "{\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }" { (expression_statement "pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));" (assignment_expression "pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" identifier = (binary_expression "local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" identifier + (cast_expression "(int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" ( (type_descriptor "int" primitive_type) ) (cast_expression "(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" ( (type_descriptor "float" primitive_type) ) (cast_expression "(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" ( (binary_expression "unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)" identifier + (parenthesized_expression "((uint)*pbVar19 & uVar24 - 1)" ( (binary_expression "(uint)*pbVar19 & uVar24 - 1" (binary_expression "(uint)*pbVar19" (parenthesized_expression "(uint)" ( identifier )) * identifier) & (binary_expression "uVar24 - 1" identifier - number_literal)) ))) ))))))) ;) }) (else_clause "else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }" else (compound_statement "{\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }" { (expression_statement "pbVar31 = local_178;" (assignment_expression "pbVar31 = local_178" identifier = identifier) ;) (if_statement "if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }" if (parenthesized_expression "(*param_2 != 0x1a9)" ( (binary_expression "*param_2 != 0x1a9" (pointer_expression "*param_2" * identifier) != number_literal) )) (compound_statement "{\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0)" ( identifier , identifier , (binary_expression "puVar17 + 0x25ac" identifier + number_literal) , number_literal , number_literal , identifier , identifier , (binary_expression "puVar4 + 0xd0" identifier + number_literal) ))) ;) })) }))) (expression_statement "pbVar40 = pbVar19 + 1;" (assignment_expression "pbVar40 = pbVar19 + 1" identifier = (binary_expression "pbVar19 + 1" identifier + number_literal)) ;) (expression_statement "*pbVar19 = *pbVar31;" (assignment_expression "*pbVar19 = *pbVar31" (pointer_expression "*pbVar19" * identifier) = (pointer_expression "*pbVar31" * identifier)) ;) (expression_statement "unaff_s8 = unaff_s8 + uVar24;" (assignment_expression "unaff_s8 = unaff_s8 + uVar24" identifier = (binary_expression "unaff_s8 + uVar24" identifier + identifier)) ;) (expression_statement "pbVar19 = pbVar40;" (assignment_expression "pbVar19 = pbVar40" identifier = identifier) ;) }) while (parenthesized_expression "((int)pbVar40 - (int)pbVar12 < (int)uVar38)" ( (binary_expression "(int)pbVar40 - (int)pbVar12 < (int)uVar38" (binary_expression "(int)pbVar40 - (int)pbVar12" (cast_expression "(int)pbVar40" ( (type_descriptor "int" primitive_type) ) identifier) - (cast_expression "(int)pbVar12" ( (type_descriptor "int" primitive_type) ) identifier)) < (cast_expression "(int)uVar38" ( (type_descriptor "int" primitive_type) ) identifier)) )) ;) (expression_statement "pbVar12 = pbVar12 + uVar8;" (assignment_expression "pbVar12 = pbVar12 + uVar8" identifier = (binary_expression "pbVar12 + uVar8" identifier + identifier)) ;) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" identifier = (binary_expression "uVar7 + 1" identifier + number_literal)) ;) }) while (parenthesized_expression "(uVar7 != local_17c)" ( (binary_expression "uVar7 != local_17c" identifier != identifier) )) ;) })))) (expression_statement "iVar11 = puVar4[7];" (assignment_expression "iVar11 = puVar4[7]" identifier = (subscript_expression "puVar4[7]" identifier [ number_literal ])) ;) (labeled_statement "LAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;" statement_identifier : (if_statement "if (0 < iVar11) goto LAB_002a5be0;" if (parenthesized_expression "(0 < iVar11)" ( (binary_expression "0 < iVar11" number_literal < identifier) )) (goto_statement "goto LAB_002a5be0;" goto statement_identifier ;))) }))) (expression_statement "local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);" (assignment_expression "local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" identifier = (cast_expression "(byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (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 "(local_178)" ( identifier ))))) ;) }))) (labeled_statement "LAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" statement_identifier : (expression_statement "local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" (assignment_expression "local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" identifier = (cast_expression "(byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(iVar5)" ( identifier ))))) ;)) (expression_statement "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4)" identifier = (call_expression "(*(code *)PTR_EOFBlob_003a9748)(puVar4)" (parenthesized_expression "(*(code *)PTR_EOFBlob_003a9748)" ( (pointer_expression "*(code *)PTR_EOFBlob_003a9748" * (cast_expression "(code *)PTR_EOFBlob_003a9748" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" identifier = identifier) ;) (if_statement "if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }" if (parenthesized_expression "(iVar5 != 0)" ( (binary_expression "iVar5 != 0" identifier != number_literal) )) (compound_statement "{\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }" { (expression_statement "puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" identifier = (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" ( (pointer_expression "*(code *)PTR___errno_location_003a99b0" * (cast_expression "(code *)PTR___errno_location_003a99b0" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))))) ;) (expression_statement "uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);" (assignment_expression "uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22)" identifier = (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" ( (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" * (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(*puVar22)" ( (pointer_expression "*puVar22" * identifier) )))) ;) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6)" ( identifier , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_courses_003a88ec + -0x17c" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0xe78" identifier + number_literal) , (binary_expression "puVar4 + 0xd0" identifier + number_literal) , identifier ))) ;) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar6);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar6)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(uVar6)" ( identifier ))) ;) (labeled_statement "LAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);" statement_identifier : (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(puVar4);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(puVar4)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;)) (if_statement "if (local_164 != 0) goto LAB_002a56b8;" if (parenthesized_expression "(local_164 != 0)" ( (binary_expression "local_164 != 0" identifier != number_literal) )) (goto_statement "goto LAB_002a56b8;" goto statement_identifier ;)) (goto_statement "goto LAB_002a57d0;" goto statement_identifier ;) })) (if_statement "if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;" if (parenthesized_expression "((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))" ( (binary_expression "(*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b])" (parenthesized_expression "(*(int *)(param_1 + 0x2c) != 0)" ( (binary_expression "*(int *)(param_1 + 0x2c) != 0" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) != number_literal) )) && (parenthesized_expression "((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b])" ( (binary_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]" (binary_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U" (parenthesized_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28))" ( (binary_expression "*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)" (pointer_expression "*(int *)(param_1 + 0x2c)" * (cast_expression "(int *)(param_1 + 0x2c)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x2c)" ( (binary_expression "param_1 + 0x2c" identifier + number_literal) )))) + (pointer_expression "*(int *)(param_1 + 0x28)" * (cast_expression "(int *)(param_1 + 0x28)" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) (parenthesized_expression "(param_1 + 0x28)" ( (binary_expression "param_1 + 0x28" identifier + number_literal) ))))) )) - number_literal) <= (cast_expression "(uint)puVar4[0x9b]" ( (type_descriptor "uint" type_identifier) ) (subscript_expression "puVar4[0x9b]" identifier [ number_literal ]))) ))) )) (goto_statement "goto LAB_002a6040;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" ( identifier ))) ;) (expression_statement "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158)" identifier = (call_expression "(*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158)" (parenthesized_expression "(*(code *)PTR_ReadBlob_003a8dac)" ( (pointer_expression "*(code *)PTR_ReadBlob_003a8dac" * (cast_expression "(code *)PTR_ReadBlob_003a8dac" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,2,local_158)" ( identifier , number_literal , identifier )))) ;) (if_statement "if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;" if (parenthesized_expression "((iVar5 == 0) || (local_158[0] != 0x52cc))" ( (binary_expression "(iVar5 == 0) || (local_158[0] != 0x52cc)" (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) || (parenthesized_expression "(local_158[0] != 0x52cc)" ( (binary_expression "local_158[0] != 0x52cc" (subscript_expression "local_158[0]" identifier [ number_literal ]) != number_literal) ))) )) (goto_statement "goto LAB_002a6040;" goto statement_identifier ;)) (expression_statement "(*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);" (call_expression "(*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2)" (parenthesized_expression "(*(code *)PTR_AcquireNextImage_003a8f90)" ( (pointer_expression "*(code *)PTR_AcquireNextImage_003a8f90" * (cast_expression "(code *)PTR_AcquireNextImage_003a8f90" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_1,puVar4,param_2)" ( identifier , identifier , identifier ))) ;) (expression_statement "iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4)" identifier = (call_expression "(*(code *)PTR_GetNextImageInList_003a9470)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetNextImageInList_003a9470)" ( (pointer_expression "*(code *)PTR_GetNextImageInList_003a9470" * (cast_expression "(code *)PTR_GetNextImageInList_003a9470" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (if_statement "if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (compound_statement "{\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }" { (labeled_statement "LAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);" statement_identifier : (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(puVar4);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(puVar4)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;)) (goto_statement "goto LAB_002a57d0;" goto statement_identifier ;) })) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4)" (parenthesized_expression "(*(code *)PTR_SyncNextImageInList_003a9408)" ( (pointer_expression "*(code *)PTR_SyncNextImageInList_003a9408" * (cast_expression "(code *)PTR_SyncNextImageInList_003a9408" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))))) ;) (expression_statement "uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);" (assignment_expression "uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4)" identifier = (call_expression "(*(code *)PTR_TellBlob_003a931c)(puVar4)" (parenthesized_expression "(*(code *)PTR_TellBlob_003a931c)" ( (pointer_expression "*(code *)PTR_TellBlob_003a931c" * (cast_expression "(code *)PTR_TellBlob_003a931c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);" (assignment_expression "uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" identifier = (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetBlobSize_003a94b8)" ( (pointer_expression "*(code *)PTR_GetBlobSize_003a94b8" * (cast_expression "(code *)PTR_GetBlobSize_003a94b8" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier )))) ;) (expression_statement "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);" (assignment_expression "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48)" identifier = (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48)" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" ( (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" * (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48)" ( identifier , (binary_expression "PTR_s_courses_003a88ec + -0x168" identifier + number_literal) , (cast_expression "(int)((ulonglong)uVar47 >> 0x20)" ( (type_descriptor "int" primitive_type) ) (parenthesized_expression "((ulonglong)uVar47 >> 0x20)" ( (binary_expression "(ulonglong)uVar47 >> 0x20" (cast_expression "(ulonglong)uVar47" ( (type_descriptor "ulonglong" type_identifier) ) identifier) >> number_literal) ))) , (cast_expression "(int)uVar47" ( (type_descriptor "int" primitive_type) ) identifier) , identifier )))) ;) (if_statement "if (iVar5 == 0) goto LAB_002a74b0;" if (parenthesized_expression "(iVar5 == 0)" ( (binary_expression "iVar5 == 0" identifier == number_literal) )) (goto_statement "goto LAB_002a74b0;" goto statement_identifier ;)) }) while (parenthesized_expression "(local_158[0] == 0x52cc)" ( (binary_expression "local_158[0] == 0x52cc" (subscript_expression "local_158[0]" identifier [ number_literal ]) == number_literal) )) ;) (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(puVar4);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(puVar4)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))) ;) (labeled_statement "LAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);" statement_identifier : (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4)" identifier = (cast_expression "(undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4)" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) (call_expression "(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetFirstImageInList_003a944c)" ( (pointer_expression "*(code *)PTR_GetFirstImageInList_003a944c" * (cast_expression "(code *)PTR_GetFirstImageInList_003a944c" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar4)" ( identifier ))))) ;)) }) (else_clause "else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }" else (compound_statement "{\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }" { (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210)" ( identifier , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal) , (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal) , number_literal , number_literal , (binary_expression "PTR_s_courses_003a88ec + -400" identifier + number_literal) , (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal) , (binary_expression "param_1 + 0x2210" identifier + number_literal) ))) ;) (expression_statement "puVar22 = puVar4;" (assignment_expression "puVar22 = puVar4" identifier = identifier) ;) (if_statement "if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;" if (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" ( (binary_expression "puVar4 != (undefined4 *)0x0" identifier != (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (goto_statement "goto LAB_002a5728;" goto statement_identifier ;)) }))) }))) (while_statement "while (local_4c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    param_1 = local_188 + 0x2210;\n    uVar6 = 0x143;\nLAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar17 = PTR_s_courses_003a88ec + -0x17c;\n    uVar18 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);\n    puVar22 = puVar4;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);\n    puVar4 = (undefined4 *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(puVar22);\n  }" while (parenthesized_expression "(local_4c != *(int *)puVar3)" ( (binary_expression "local_4c != *(int *)puVar3" identifier != (pointer_expression "*(int *)puVar3" * (cast_expression "(int *)puVar3" ( (type_descriptor "int *" primitive_type (abstract_pointer_declarator "*" *)) ) identifier))) )) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    param_1 = local_188 + 0x2210;\n    uVar6 = 0x143;\nLAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar17 = PTR_s_courses_003a88ec + -0x17c;\n    uVar18 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);\n    puVar22 = puVar4;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);\n    puVar4 = (undefined4 *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(puVar22);\n  }" { (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 "()" ( ))) ;) (labeled_statement "LAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);" statement_identifier : (expression_statement "(*(code *)PTR_DestroyString_003a9074)(unaff_s8);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(unaff_s8)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" ( (pointer_expression "*(code *)PTR_DestroyString_003a9074" * (cast_expression "(code *)PTR_DestroyString_003a9074" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(unaff_s8)" ( identifier ))) ;)) (if_statement "if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }" if (parenthesized_expression "(local_178 != (byte *)0x0)" ( (binary_expression "local_178 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }" { (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" ( ))) ;) })) (if_statement "if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }" if (parenthesized_expression "(local_1a0 != (byte *)0x0)" ( (binary_expression "local_1a0 != (byte *)0x0" identifier != (cast_expression "(byte *)0x0" ( (type_descriptor "byte *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) )) (compound_statement "{\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }" { (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" ( (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" * (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "()" ( ))) ;) })) (expression_statement "param_1 = local_188 + 0x2210;" (assignment_expression "param_1 = local_188 + 0x2210" identifier = (binary_expression "local_188 + 0x2210" identifier + number_literal)) ;) (expression_statement "uVar6 = 0x143;" (assignment_expression "uVar6 = 0x143" identifier = number_literal) ;) (labeled_statement "LAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;" statement_identifier : (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" identifier = (binary_expression "PTR_LAB_003a88e0 + 0x3e28" identifier + number_literal)) ;)) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" identifier + number_literal)) ;) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier = (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" identifier + number_literal)) ;) (expression_statement "puVar17 = PTR_s_courses_003a88ec + -0x17c;" (assignment_expression "puVar17 = PTR_s_courses_003a88ec + -0x17c" identifier = (binary_expression "PTR_s_courses_003a88ec + -0x17c" identifier + number_literal)) ;) (expression_statement "uVar18 = 0x1a9;" (assignment_expression "uVar18 = 0x1a9" identifier = number_literal) ;) (labeled_statement "LAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);" statement_identifier : (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" ( (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" * (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1)" ( identifier , identifier , identifier , identifier , identifier , identifier , identifier , identifier ))) ;)) (expression_statement "puVar22 = puVar4;" (assignment_expression "puVar22 = puVar4" identifier = identifier) ;) (labeled_statement "LAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);" statement_identifier : (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(puVar22);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(puVar22)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" ( (pointer_expression "*(code *)PTR_CloseBlob_003a9688" * (cast_expression "(code *)PTR_CloseBlob_003a9688" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar22)" ( identifier ))) ;)) (expression_statement "puVar4 = (undefined4 *)0x0;" (assignment_expression "puVar4 = (undefined4 *)0x0" identifier = (cast_expression "(undefined4 *)0x0" ( (type_descriptor "undefined4 *" type_identifier (abstract_pointer_declarator "*" *)) ) number_literal)) ;) (expression_statement "(*(code *)PTR_DestroyImageList_003a9510)(puVar22);" (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(puVar22)" (parenthesized_expression "(*(code *)PTR_DestroyImageList_003a9510)" ( (pointer_expression "*(code *)PTR_DestroyImageList_003a9510" * (cast_expression "(code *)PTR_DestroyImageList_003a9510" ( (type_descriptor "code *" type_identifier (abstract_pointer_declarator "*" *)) ) identifier)) )) (argument_list "(puVar22)" ( identifier ))) ;) })) (return_statement "return puVar4;" return identifier ;) })))
(translation_unit (function_definition TYPE (pointer_declarator * (function_declarator IDENT (parameter_list ( (parameter_declaration TYPE IDENT) , (parameter_declaration TYPE (pointer_declarator * IDENT)) )))) (compound_statement { (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE IDENT ;) (declaration TYPE (pointer_declarator * IDENT) ;) (declaration TYPE IDENT ;) (declaration (sized_type_specifier short) (array_declarator IDENT [ LIT ]) ;) (declaration TYPE (array_declarator IDENT [ LIT ]) ;) (declaration TYPE IDENT ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (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) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))))) ;) (return_statement return IDENT ;) })) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , (binary_expression IDENT + LIT) ))))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , LIT , 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) && (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) ))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (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 )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (binary_expression IDENT & LIT)) ;) (expression_statement (assignment_expression IDENT = (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 )))) ;) (expression_statement (assignment_expression IDENT = (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 )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = 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 IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) || (parenthesized_expression ( (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) && (parenthesized_expression ( (binary_expression LIT < (binary_expression IDENT - LIT)) ))) )) || (parenthesized_expression ( (binary_expression IDENT != LIT) ))) )) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression LIT < (binary_expression (subscript_expression IDENT [ LIT ]) - LIT)) )) || (parenthesized_expression ( (binary_expression LIT < (binary_expression (subscript_expression IDENT [ LIT ]) - LIT)) ))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) != IDENT) )) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + IDENT)) )) ;) (expression_statement (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) )) == 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 = (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 { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) * (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))))) ;) (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 { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) }))) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT >> LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (parenthesized_expression ( (binary_expression IDENT & LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) + (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (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 ( (binary_expression IDENT & LIT) , (cast_expression ( (type_descriptor TYPE) ) IDENT) , (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) , (cast_expression ( (type_descriptor TYPE) ) IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) != LIT) )) || (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) ))) )) (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 IDENT < (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (cast_expression ( (type_descriptor TYPE) ) IDENT))) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (binary_expression (parenthesized_expression ( (binary_expression IDENT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )) * LIT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (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 = LIT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) <= LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) / IDENT) + IDENT)) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (call_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( IDENT ))) (argument_list ( (binary_expression IDENT - IDENT) )))) ;) }))) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }))))) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( 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 ))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) }))) })) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != 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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT ))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT - LIT)) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != IDENT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ IDENT ]) = LIT) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , 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 = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == 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 = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) ))) )) && (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) - LIT) <= (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ))) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (subscript_expression IDENT [ LIT ]) , (subscript_expression IDENT [ LIT ]) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE) ) IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression IDENT * IDENT) + (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * (parenthesized_expression ( (binary_expression IDENT & LIT) ))) >> LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) , (binary_expression IDENT * (subscript_expression IDENT [ LIT ])) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , (binary_expression (binary_expression IDENT * IDENT) * IDENT) ))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT & LIT) )) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (compound_statement { (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + IDENT)) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (binary_expression IDENT - LIT) != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression IDENT - LIT) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (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 (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) }))) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (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) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (pointer_expression & IDENT) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + (binary_expression IDENT * LIT)) + LIT) ))))) )))) )) (argument_list ( ))))) ;) (return_statement return IDENT ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (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) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT & LIT)) ;) }) while (parenthesized_expression ( (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 { (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (goto_statement goto statement_identifier ;)) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) }))) (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) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = LIT) ;)) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 , LIT , IDENT , (subscript_expression IDENT [ LIT ]) , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) * IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * IDENT) )))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * IDENT) )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * IDENT) )))) ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (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 , IDENT , IDENT , IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) )) ;) (goto_statement goto statement_identifier ;) })) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (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 = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) & (binary_expression IDENT - LIT))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) IDENT)))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_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 , IDENT , (binary_expression IDENT + LIT) , LIT , LIT , IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression IDENT + IDENT)) )) ;) })) (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (goto_statement goto statement_identifier ;) })) (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 , IDENT , IDENT )))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < LIT) )) (goto_statement goto statement_identifier ;)) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) ;) (do_statement do (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) ) (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT) ))))) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;)) }) (else_clause else (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) + LIT) )))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (parenthesized_expression ( (binary_expression LIT << (parenthesized_expression ( (binary_expression IDENT & LIT) ))) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (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 (pointer_expression * IDENT) = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) * IDENT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) * IDENT) ))))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT)) * IDENT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != (binary_expression (binary_expression IDENT + IDENT) + IDENT)) )) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))) }))) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 , LIT , IDENT , (subscript_expression IDENT [ LIT ]) , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (subscript_expression IDENT [ LIT ]))) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (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 { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression IDENT * LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (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 , IDENT , IDENT , IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) )) ;) })) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT ))) ;) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_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 *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (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 , LIT , IDENT , (subscript_expression IDENT [ LIT ]) , LIT , IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( IDENT ))) * IDENT) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * IDENT))) * LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , LIT , LIT , (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) * LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , LIT , LIT , (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))))) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) < IDENT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) * LIT)) ;) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression (pointer_expression * IDENT) == LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) }) (else_clause else (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , IDENT , LIT , LIT , (binary_expression IDENT + LIT) , IDENT , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) }))))) (expression_statement (assignment_expression IDENT = (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression (binary_expression IDENT + IDENT) + LIT) )))))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) * LIT)) )))) = (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ])) * IDENT) )))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (binary_expression (subscript_expression IDENT [ LIT ]) * LIT))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression IDENT < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (if_statement if (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) (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 , (binary_expression IDENT + LIT) , IDENT , IDENT , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (break_statement break ;)) (expression_statement (assignment_expression IDENT = (subscript_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 (call_expression (parenthesized_expression ( IDENT )) (argument_list ( (binary_expression IDENT < IDENT) ))) + (cast_expression ( (type_descriptor TYPE) ) IDENT)) )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < IDENT) )) ;) })) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (subscript_expression IDENT [ LIT ]) )))) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = IDENT) ;) (expression_statement (assignment_expression (subscript_expression IDENT [ LIT ]) = LIT) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = LIT) ;) }))) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;))) }) (else_clause else (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression IDENT < LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) }))) (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 = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (goto_statement goto statement_identifier ;) })) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (goto_statement goto statement_identifier ;)) }) (else_clause else (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = LIT) ;) (if_statement if (parenthesized_expression ( (binary_expression LIT < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) })) (expression_statement (assignment_expression IDENT = LIT) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (do_statement do (compound_statement { (if_statement if (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) & (binary_expression IDENT - LIT)) ))) ))) < (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) )) (compound_statement { (expression_statement (assignment_expression IDENT = (binary_expression IDENT + (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression IDENT + (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( IDENT )) * IDENT) & (binary_expression IDENT - LIT)) ))) ))))))) ;) }) (else_clause else (compound_statement { (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression (pointer_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 , IDENT , (binary_expression IDENT + LIT) , LIT , LIT , IDENT , IDENT , (binary_expression IDENT + LIT) ))) ;) })) }))) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression (pointer_expression * IDENT) = (pointer_expression * IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) }) while (parenthesized_expression ( (binary_expression (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) - (cast_expression ( (type_descriptor TYPE) ) IDENT)) < (cast_expression ( (type_descriptor TYPE) ) IDENT)) )) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + IDENT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) }) while (parenthesized_expression ( (binary_expression IDENT != IDENT) )) ;) })))) (expression_statement (assignment_expression IDENT = (subscript_expression IDENT [ LIT ])) ;) (labeled_statement statement_identifier : (if_statement if (parenthesized_expression ( (binary_expression LIT < IDENT) )) (goto_statement goto statement_identifier ;))) }))) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) }))) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;)) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT )))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != LIT) )) (compound_statement { (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( (pointer_expression * IDENT) )))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , IDENT ))) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (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 ;)) (goto_statement goto statement_identifier ;) })) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) != LIT) )) && (parenthesized_expression ( (binary_expression (binary_expression (parenthesized_expression ( (binary_expression (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) )))) + (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (parenthesized_expression ( (binary_expression IDENT + LIT) ))))) )) - LIT) <= (cast_expression ( (type_descriptor TYPE) ) (subscript_expression IDENT [ LIT ]))) ))) )) (goto_statement goto statement_identifier ;)) (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 , LIT , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression (parenthesized_expression ( (binary_expression IDENT == LIT) )) || (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) != LIT) ))) )) (goto_statement goto statement_identifier ;)) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , 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) )) (compound_statement { (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;)) (goto_statement goto statement_identifier ;) })) (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))))) ;) (expression_statement (assignment_expression IDENT = (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 )))) ;) (expression_statement (assignment_expression IDENT = (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , (binary_expression IDENT + LIT) , (cast_expression ( (type_descriptor TYPE) ) (parenthesized_expression ( (binary_expression (cast_expression ( (type_descriptor TYPE) ) IDENT) >> LIT) ))) , (cast_expression ( (type_descriptor TYPE) ) IDENT) , IDENT )))) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT == LIT) )) (goto_statement goto statement_identifier ;)) }) while (parenthesized_expression ( (binary_expression (subscript_expression IDENT [ LIT ]) == LIT) )) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( 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 , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , LIT , LIT , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) , (binary_expression IDENT + LIT) ))) ;) (expression_statement (assignment_expression IDENT = IDENT) ;) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (goto_statement goto statement_identifier ;)) }))) }))) (while_statement while (parenthesized_expression ( (binary_expression IDENT != (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT))) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;)) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (if_statement if (parenthesized_expression ( (binary_expression IDENT != (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) )) (compound_statement { (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( ))) ;) })) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;)) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = (binary_expression IDENT + LIT)) ;) (expression_statement (assignment_expression IDENT = LIT) ;) (labeled_statement statement_identifier : (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT , IDENT ))) ;)) (expression_statement (assignment_expression IDENT = IDENT) ;) (labeled_statement statement_identifier : (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 = (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) LIT)) ;) (expression_statement (call_expression (parenthesized_expression ( (pointer_expression * (cast_expression ( (type_descriptor TYPE (abstract_pointer_declarator *)) ) IDENT)) )) (argument_list ( IDENT ))) ;) })) (return_statement return IDENT ;) })))
(function_definition "undefined4 * FUN_002a5290(int param_1,int *param_2)\n\n{\n  ulonglong uVar1;\n  ulonglong uVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  byte *pbVar12;\n  uint uVar13;\n  uint uVar14;\n  byte *pbVar15;\n  byte bVar23;\n  undefined *puVar16;\n  undefined *puVar17;\n  undefined4 uVar18;\n  byte *pbVar19;\n  double *pdVar20;\n  undefined *puVar21;\n  undefined4 *puVar22;\n  uint uVar24;\n  int iVar25;\n  int iVar26;\n  float *pfVar27;\n  float *pfVar28;\n  undefined *puVar29;\n  byte *pbVar30;\n  byte *pbVar31;\n  float *pfVar32;\n  undefined *puVar33;\n  int iVar34;\n  int iVar35;\n  int iVar36;\n  int iVar37;\n  uint uVar38;\n  uint uVar39;\n  byte *pbVar40;\n  byte *unaff_s8;\n  double dVar41;\n  double dVar42;\n  double dVar43;\n  double dVar44;\n  double dVar45;\n  longlong lVar46;\n  undefined8 uVar47;\n  undefined8 uVar48;\n  byte *local_1a0;\n  int *local_18c;\n  int local_188;\n  int local_180;\n  uint local_17c;\n  byte *local_178;\n  int local_164;\n  short local_158 [6];\n  byte local_14c [256];\n  int local_4c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  local_4c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == 0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (*(int *)(param_1 + 0x3210) != 0) {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n  }\n  if (param_2 == (int *)0x0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (param_2[7] != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  puVar4 = (undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n  iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2);\n  pbVar12 = unaff_s8;\n  if (iVar5 == 0) {\nLAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);\n    unaff_s8 = pbVar12;\n  }\n  else {\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }\n  while (local_4c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    param_1 = local_188 + 0x2210;\n    uVar6 = 0x143;\nLAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar17 = PTR_s_courses_003a88ec + -0x17c;\n    uVar18 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);\n    puVar22 = puVar4;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);\n    puVar4 = (undefined4 *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(puVar22);\n  }\n  return puVar4;\n}" (type_identifier "undefined4") (pointer_declarator "* FUN_002a5290(int param_1,int *param_2)" (* "*") (function_declarator "FUN_002a5290(int param_1,int *param_2)" (identifier "FUN_002a5290") (parameter_list "(int param_1,int *param_2)" (( "(") (parameter_declaration "int param_1" (primitive_type "int") (identifier "param_1")) (, ",") (parameter_declaration "int *param_2" (primitive_type "int") (pointer_declarator "*param_2" (* "*") (identifier "param_2"))) () ")")))) (compound_statement "{\n  ulonglong uVar1;\n  ulonglong uVar2;\n  undefined *puVar3;\n  undefined4 *puVar4;\n  int iVar5;\n  undefined4 uVar6;\n  uint uVar7;\n  uint uVar8;\n  uint uVar9;\n  uint uVar10;\n  int iVar11;\n  byte *pbVar12;\n  uint uVar13;\n  uint uVar14;\n  byte *pbVar15;\n  byte bVar23;\n  undefined *puVar16;\n  undefined *puVar17;\n  undefined4 uVar18;\n  byte *pbVar19;\n  double *pdVar20;\n  undefined *puVar21;\n  undefined4 *puVar22;\n  uint uVar24;\n  int iVar25;\n  int iVar26;\n  float *pfVar27;\n  float *pfVar28;\n  undefined *puVar29;\n  byte *pbVar30;\n  byte *pbVar31;\n  float *pfVar32;\n  undefined *puVar33;\n  int iVar34;\n  int iVar35;\n  int iVar36;\n  int iVar37;\n  uint uVar38;\n  uint uVar39;\n  byte *pbVar40;\n  byte *unaff_s8;\n  double dVar41;\n  double dVar42;\n  double dVar43;\n  double dVar44;\n  double dVar45;\n  longlong lVar46;\n  undefined8 uVar47;\n  undefined8 uVar48;\n  byte *local_1a0;\n  int *local_18c;\n  int local_188;\n  int local_180;\n  uint local_17c;\n  byte *local_178;\n  int local_164;\n  short local_158 [6];\n  byte local_14c [256];\n  int local_4c;\n  \n  puVar3 = PTR___stack_chk_guard_003a9230;\n  local_4c = *(int *)PTR___stack_chk_guard_003a9230;\n  if (param_1 == 0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (*(int *)(param_1 + 0x3210) != 0) {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n  }\n  if (param_2 == (int *)0x0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  if (param_2[7] != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }\n  puVar4 = (undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);\n  iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2);\n  pbVar12 = unaff_s8;\n  if (iVar5 == 0) {\nLAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);\n    unaff_s8 = pbVar12;\n  }\n  else {\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }\n  while (local_4c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    param_1 = local_188 + 0x2210;\n    uVar6 = 0x143;\nLAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar17 = PTR_s_courses_003a88ec + -0x17c;\n    uVar18 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);\n    puVar22 = puVar4;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);\n    puVar4 = (undefined4 *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(puVar22);\n  }\n  return puVar4;\n}" ({ "{") (declaration "ulonglong uVar1;" (type_identifier "ulonglong") (identifier "uVar1") (; ";")) (declaration "ulonglong uVar2;" (type_identifier "ulonglong") (identifier "uVar2") (; ";")) (declaration "undefined *puVar3;" (type_identifier "undefined") (pointer_declarator "*puVar3" (* "*") (identifier "puVar3")) (; ";")) (declaration "undefined4 *puVar4;" (type_identifier "undefined4") (pointer_declarator "*puVar4" (* "*") (identifier "puVar4")) (; ";")) (declaration "int iVar5;" (primitive_type "int") (identifier "iVar5") (; ";")) (declaration "undefined4 uVar6;" (type_identifier "undefined4") (identifier "uVar6") (; ";")) (declaration "uint uVar7;" (type_identifier "uint") (identifier "uVar7") (; ";")) (declaration "uint uVar8;" (type_identifier "uint") (identifier "uVar8") (; ";")) (declaration "uint uVar9;" (type_identifier "uint") (identifier "uVar9") (; ";")) (declaration "uint uVar10;" (type_identifier "uint") (identifier "uVar10") (; ";")) (declaration "int iVar11;" (primitive_type "int") (identifier "iVar11") (; ";")) (declaration "byte *pbVar12;" (type_identifier "byte") (pointer_declarator "*pbVar12" (* "*") (identifier "pbVar12")) (; ";")) (declaration "uint uVar13;" (type_identifier "uint") (identifier "uVar13") (; ";")) (declaration "uint uVar14;" (type_identifier "uint") (identifier "uVar14") (; ";")) (declaration "byte *pbVar15;" (type_identifier "byte") (pointer_declarator "*pbVar15" (* "*") (identifier "pbVar15")) (; ";")) (declaration "byte bVar23;" (type_identifier "byte") (identifier "bVar23") (; ";")) (declaration "undefined *puVar16;" (type_identifier "undefined") (pointer_declarator "*puVar16" (* "*") (identifier "puVar16")) (; ";")) (declaration "undefined *puVar17;" (type_identifier "undefined") (pointer_declarator "*puVar17" (* "*") (identifier "puVar17")) (; ";")) (declaration "undefined4 uVar18;" (type_identifier "undefined4") (identifier "uVar18") (; ";")) (declaration "byte *pbVar19;" (type_identifier "byte") (pointer_declarator "*pbVar19" (* "*") (identifier "pbVar19")) (; ";")) (declaration "double *pdVar20;" (primitive_type "double") (pointer_declarator "*pdVar20" (* "*") (identifier "pdVar20")) (; ";")) (declaration "undefined *puVar21;" (type_identifier "undefined") (pointer_declarator "*puVar21" (* "*") (identifier "puVar21")) (; ";")) (declaration "undefined4 *puVar22;" (type_identifier "undefined4") (pointer_declarator "*puVar22" (* "*") (identifier "puVar22")) (; ";")) (declaration "uint uVar24;" (type_identifier "uint") (identifier "uVar24") (; ";")) (declaration "int iVar25;" (primitive_type "int") (identifier "iVar25") (; ";")) (declaration "int iVar26;" (primitive_type "int") (identifier "iVar26") (; ";")) (declaration "float *pfVar27;" (primitive_type "float") (pointer_declarator "*pfVar27" (* "*") (identifier "pfVar27")) (; ";")) (declaration "float *pfVar28;" (primitive_type "float") (pointer_declarator "*pfVar28" (* "*") (identifier "pfVar28")) (; ";")) (declaration "undefined *puVar29;" (type_identifier "undefined") (pointer_declarator "*puVar29" (* "*") (identifier "puVar29")) (; ";")) (declaration "byte *pbVar30;" (type_identifier "byte") (pointer_declarator "*pbVar30" (* "*") (identifier "pbVar30")) (; ";")) (declaration "byte *pbVar31;" (type_identifier "byte") (pointer_declarator "*pbVar31" (* "*") (identifier "pbVar31")) (; ";")) (declaration "float *pfVar32;" (primitive_type "float") (pointer_declarator "*pfVar32" (* "*") (identifier "pfVar32")) (; ";")) (declaration "undefined *puVar33;" (type_identifier "undefined") (pointer_declarator "*puVar33" (* "*") (identifier "puVar33")) (; ";")) (declaration "int iVar34;" (primitive_type "int") (identifier "iVar34") (; ";")) (declaration "int iVar35;" (primitive_type "int") (identifier "iVar35") (; ";")) (declaration "int iVar36;" (primitive_type "int") (identifier "iVar36") (; ";")) (declaration "int iVar37;" (primitive_type "int") (identifier "iVar37") (; ";")) (declaration "uint uVar38;" (type_identifier "uint") (identifier "uVar38") (; ";")) (declaration "uint uVar39;" (type_identifier "uint") (identifier "uVar39") (; ";")) (declaration "byte *pbVar40;" (type_identifier "byte") (pointer_declarator "*pbVar40" (* "*") (identifier "pbVar40")) (; ";")) (declaration "byte *unaff_s8;" (type_identifier "byte") (pointer_declarator "*unaff_s8" (* "*") (identifier "unaff_s8")) (; ";")) (declaration "double dVar41;" (primitive_type "double") (identifier "dVar41") (; ";")) (declaration "double dVar42;" (primitive_type "double") (identifier "dVar42") (; ";")) (declaration "double dVar43;" (primitive_type "double") (identifier "dVar43") (; ";")) (declaration "double dVar44;" (primitive_type "double") (identifier "dVar44") (; ";")) (declaration "double dVar45;" (primitive_type "double") (identifier "dVar45") (; ";")) (declaration "longlong lVar46;" (type_identifier "longlong") (identifier "lVar46") (; ";")) (declaration "undefined8 uVar47;" (type_identifier "undefined8") (identifier "uVar47") (; ";")) (declaration "undefined8 uVar48;" (type_identifier "undefined8") (identifier "uVar48") (; ";")) (declaration "byte *local_1a0;" (type_identifier "byte") (pointer_declarator "*local_1a0" (* "*") (identifier "local_1a0")) (; ";")) (declaration "int *local_18c;" (primitive_type "int") (pointer_declarator "*local_18c" (* "*") (identifier "local_18c")) (; ";")) (declaration "int local_188;" (primitive_type "int") (identifier "local_188") (; ";")) (declaration "int local_180;" (primitive_type "int") (identifier "local_180") (; ";")) (declaration "uint local_17c;" (type_identifier "uint") (identifier "local_17c") (; ";")) (declaration "byte *local_178;" (type_identifier "byte") (pointer_declarator "*local_178" (* "*") (identifier "local_178")) (; ";")) (declaration "int local_164;" (primitive_type "int") (identifier "local_164") (; ";")) (declaration "short local_158 [6];" (sized_type_specifier "short" (short "short")) (array_declarator "local_158 [6]" (identifier "local_158") ([ "[") (number_literal "6") (] "]")) (; ";")) (declaration "byte local_14c [256];" (type_identifier "byte") (array_declarator "local_14c [256]" (identifier "local_14c") ([ "[") (number_literal "256") (] "]")) (; ";")) (declaration "int local_4c;" (primitive_type "int") (identifier "local_4c") (; ";")) (expression_statement "puVar3 = PTR___stack_chk_guard_003a9230;" (assignment_expression "puVar3 = PTR___stack_chk_guard_003a9230" (identifier "puVar3") (= "=") (identifier "PTR___stack_chk_guard_003a9230")) (; ";")) (expression_statement "local_4c = *(int *)PTR___stack_chk_guard_003a9230;" (assignment_expression "local_4c = *(int *)PTR___stack_chk_guard_003a9230" (identifier "local_4c") (= "=") (pointer_expression "*(int *)PTR___stack_chk_guard_003a9230" (* "*") (cast_expression "(int *)PTR___stack_chk_guard_003a9230" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___stack_chk_guard_003a9230")))) (; ";")) (if_statement "if (param_1 == 0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" (if "if") (parenthesized_expression "(param_1 == 0)" (( "(") (binary_expression "param_1 == 0" (identifier "param_1") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" ({ "{") (expression_statement "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);" (assignment_expression "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(PTR_LAB_003a88e0 + 0xd78,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0xd78" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0xd78")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x2560")) (, ",") (number_literal "0xcb") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x25d4")) () ")"))))) (; ";")) (return_statement "return puVar4;" (return "return") (identifier "puVar4") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x3214) != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3214) != -0x54535255)" (( "(") (binary_expression "*(int *)(param_1 + 0x3214) != -0x54535255" (pointer_expression "*(int *)(param_1 + 0x3214)" (* "*") (cast_expression "(int *)(param_1 + 0x3214)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3214)" (( "(") (binary_expression "param_1 + 0x3214" (identifier "param_1") (+ "+") (number_literal "0x3214")) () ")")))) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" ({ "{") (expression_statement "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);" (assignment_expression "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(PTR_LAB_003a88e0 + 0xda0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0xda0" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0xda0")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x2560")) (, ",") (number_literal "0xcc") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x25d4")) () ")"))))) (; ";")) (return_statement "return puVar4;" (return "return") (identifier "puVar4") (; ";")) (} "}"))) (if_statement "if (*(int *)(param_1 + 0x3210) != 0) {\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n  }" (if "if") (parenthesized_expression "(*(int *)(param_1 + 0x3210) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x3210) != 0" (pointer_expression "*(int *)(param_1 + 0x3210)" (* "*") (cast_expression "(int *)(param_1 + 0x3210)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x3210)" (( "(") (binary_expression "param_1 + 0x3210" (identifier "param_1") (+ "+") (number_literal "0x3210")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n    (*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);\n  }" ({ "{") (expression_statement "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);" (call_expression "(*(code *)PTR_LogMagickEvent_003a91e0)\n              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210)" (parenthesized_expression "(*(code *)PTR_LogMagickEvent_003a91e0)" (( "(") (pointer_expression "*(code *)PTR_LogMagickEvent_003a91e0" (* "*") (cast_expression "(code *)PTR_LogMagickEvent_003a91e0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_LogMagickEvent_003a91e0"))) () ")")) (argument_list "(0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,\n               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210)" (( "(") (number_literal "0x8000") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x2560")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x25c4")) (, ",") (number_literal "0xce") (, ",") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x62ac" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x62ac")) (, ",") (binary_expression "param_1 + 0x2210" (identifier "param_1") (+ "+") (number_literal "0x2210")) () ")"))) (; ";")) (} "}"))) (if_statement "if (param_2 == (int *)0x0) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" (if "if") (parenthesized_expression "(param_2 == (int *)0x0)" (( "(") (binary_expression "param_2 == (int *)0x0" (identifier "param_2") (== "==") (cast_expression "(int *)0x0" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" ({ "{") (expression_statement "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);" (assignment_expression "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(PTR_LAB_003a88e0 + 0x1cac,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1cac" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1cac")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x2560")) (, ",") (number_literal "0xd0") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x25d4")) () ")"))))) (; ";")) (return_statement "return puVar4;" (return "return") (identifier "puVar4") (; ";")) (} "}"))) (if_statement "if (param_2[7] != -0x54535255) {\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" (if "if") (parenthesized_expression "(param_2[7] != -0x54535255)" (( "(") (binary_expression "param_2[7] != -0x54535255" (subscript_expression "param_2[7]" (identifier "param_2") ([ "[") (number_literal "7") (] "]")) (!= "!=") (number_literal "-0x54535255")) () ")")) (compound_statement "{\n    puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);\n    return puVar4;\n  }" ({ "{") (expression_statement "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);" (assignment_expression "puVar4 = (undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)\n             (*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___assert_fail_003a9608)\n                       (PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (parenthesized_expression "(*(code *)PTR___assert_fail_003a9608)" (( "(") (pointer_expression "*(code *)PTR___assert_fail_003a9608" (* "*") (cast_expression "(code *)PTR___assert_fail_003a9608" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___assert_fail_003a9608"))) () ")")) (argument_list "(PTR_LAB_003a88e0 + 0x294c,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,\n                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x294c" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x294c")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x2560")) (, ",") (number_literal "0xd1") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x25d4")) () ")"))))) (; ";")) (return_statement "return puVar4;" (return "return") (identifier "puVar4") (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2)" (parenthesized_expression "(*(code *)PTR_AcquireImage_003a960c)" (( "(") (pointer_expression "*(code *)PTR_AcquireImage_003a960c" (* "*") (cast_expression "(code *)PTR_AcquireImage_003a960c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireImage_003a960c"))) () ")")) (argument_list "(param_1,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "param_2") () ")"))))) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2);" (assignment_expression "iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2)" (parenthesized_expression "(*(code *)PTR_OpenBlob_003a924c)" (( "(") (pointer_expression "*(code *)PTR_OpenBlob_003a924c" (* "*") (cast_expression "(code *)PTR_OpenBlob_003a924c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_OpenBlob_003a924c"))) () ")")) (argument_list "(param_1,puVar4,2,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "puVar4") (, ",") (number_literal "2") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" (identifier "pbVar12") (= "=") (identifier "unaff_s8")) (; ";")) (if_statement "if (iVar5 == 0) {\nLAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);\n    unaff_s8 = pbVar12;\n  }\n  else {\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);\n    unaff_s8 = pbVar12;\n  }" ({ "{") (labeled_statement "LAB_002a57d0:\n    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);" (statement_identifier "LAB_002a57d0") (: ":") (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(puVar4)" (parenthesized_expression "(*(code *)PTR_DestroyImageList_003a9510)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageList_003a9510" (* "*") (cast_expression "(code *)PTR_DestroyImageList_003a9510" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageList_003a9510"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))))) (; ";"))) (expression_statement "unaff_s8 = pbVar12;" (assignment_expression "unaff_s8 = pbVar12" (identifier "unaff_s8") (= "=") (identifier "pbVar12")) (; ";")) (} "}")) (else_clause "else {\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }" (else "else") (compound_statement "{\n    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;\n    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }\n  }" ({ "{") (expression_statement "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158)" (parenthesized_expression "(*(code *)PTR_ReadBlob_003a8dac)" (( "(") (pointer_expression "*(code *)PTR_ReadBlob_003a8dac" (* "*") (cast_expression "(code *)PTR_ReadBlob_003a8dac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlob_003a8dac"))) () ")")) (argument_list "(puVar4,2,local_158)" (( "(") (identifier "puVar4") (, ",") (number_literal "2") (, ",") (identifier "local_158") () ")")))) (; ";")) (expression_statement "puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;" (assignment_expression "puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8" (identifier "puVar16") (= "=") (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8")) (; ";")) (if_statement "if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }\n    else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }" (if "if") (parenthesized_expression "((iVar5 == 2) && (local_158[0] == 0x52cc))" (( "(") (binary_expression "(iVar5 == 2) && (local_158[0] == 0x52cc)" (parenthesized_expression "(iVar5 == 2)" (( "(") (binary_expression "iVar5 == 2" (identifier "iVar5") (== "==") (number_literal "2")) () ")")) (&& "&&") (parenthesized_expression "(local_158[0] == 0x52cc)" (( "(") (binary_expression "local_158[0] == 0x52cc" (subscript_expression "local_158[0]" (identifier "local_158") ([ "[") (number_literal "0") (] "]")) (== "==") (number_literal "0x52cc")) () ")"))) () ")")) (compound_statement "{\n      local_178 = (byte *)0x0;\n      local_1a0 = (byte *)0x0;\n      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);\n      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);\n      do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);\n      (*(code *)PTR_CloseBlob_003a9688)(puVar4);\nLAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);\n    }" ({ "{") (expression_statement "local_178 = (byte *)0x0;" (assignment_expression "local_178 = (byte *)0x0" (identifier "local_178") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "local_1a0 = (byte *)0x0;" (assignment_expression "local_1a0 = (byte *)0x0" (identifier "local_1a0") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);" (assignment_expression "dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (identifier "dVar43") (= "=") (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (* "*") (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x5af0")) () ")"))))) (; ";")) (expression_statement "dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);" (assignment_expression "dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400)" (identifier "dVar44") (= "=") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1400)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1400)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1400)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1400" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1400")) () ")"))))) (; ";")) (do_statement "do {\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      } while (local_158[0] == 0x52cc);" (do "do") (compound_statement "{\n        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8c] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[0x8d] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobLSBShort_003a96fc;\n        puVar4[6] = uVar6;\n        uVar6 = (*(code *)puVar17)(puVar4);\n        puVar17 = PTR_ReadBlobByte_003a97f0;\n        puVar4[7] = uVar6;\n        uVar7 = (*(code *)puVar17)(puVar4);\n        puVar4[0xaf] = uVar7 & 4;\n        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        local_18c = param_2;\n        local_188 = param_1;\n        if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }\n        uVar24 = 1 << (uVar10 & 0x1f);\n        if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }\n        if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }\n        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }\n        if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }\n        uVar38 = uVar8;\n        if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }\n        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];\n        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }\n        local_180 = (int)(uVar1 >> 0x20);\n        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);\n        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);\n        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);\n        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;\n        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }\n        if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }\n        pbVar12 = unaff_s8;\n        if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        unaff_s8 = pbVar12;\n        if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }\n        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;\n        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);\n        if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }\n        uVar14 = uVar38 + 1;\n        local_17c = (uint)uVar1;\n        uVar13 = uVar38;\n        if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }\n        if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }\n        uVar39 = 4;\n        if (3 < uVar13) {\n          uVar39 = uVar13;\n        }\n        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);\n        if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }\n        iVar25 = puVar4[7];\n        iVar11 = puVar4[6];\n        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);\n        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);\n        if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }\n        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n        if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }\n        local_1a0 = (byte *)0x0;\n        uVar7 = uVar7 & 0x3f;\n        do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);\n        if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }\nLAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);\n        pbVar12 = unaff_s8;\n        if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }\n        if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;\n        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);\n        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;\n        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);\n        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);\n        if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }\n        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);\n        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);\n        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);\n        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);\n        if (iVar5 == 0) goto LAB_002a74b0;\n      }" ({ "{") (expression_statement "uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);" (assignment_expression "uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" (parenthesized_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobLSBShort_003a96fc" (* "*") (cast_expression "(code *)PTR_ReadBlobLSBShort_003a96fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobLSBShort_003a96fc"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "puVar17 = PTR_ReadBlobLSBShort_003a96fc;" (assignment_expression "puVar17 = PTR_ReadBlobLSBShort_003a96fc" (identifier "puVar17") (= "=") (identifier "PTR_ReadBlobLSBShort_003a96fc")) (; ";")) (expression_statement "puVar4[0x8c] = uVar6;" (assignment_expression "puVar4[0x8c] = uVar6" (subscript_expression "puVar4[0x8c]" (identifier "puVar4") ([ "[") (number_literal "0x8c") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "uVar6 = (*(code *)puVar17)(puVar4);" (assignment_expression "uVar6 = (*(code *)puVar17)(puVar4)" (identifier "uVar6") (= "=") (call_expression "(*(code *)puVar17)(puVar4)" (parenthesized_expression "(*(code *)puVar17)" (( "(") (pointer_expression "*(code *)puVar17" (* "*") (cast_expression "(code *)puVar17" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar17"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "puVar17 = PTR_ReadBlobLSBShort_003a96fc;" (assignment_expression "puVar17 = PTR_ReadBlobLSBShort_003a96fc" (identifier "puVar17") (= "=") (identifier "PTR_ReadBlobLSBShort_003a96fc")) (; ";")) (expression_statement "puVar4[0x8d] = uVar6;" (assignment_expression "puVar4[0x8d] = uVar6" (subscript_expression "puVar4[0x8d]" (identifier "puVar4") ([ "[") (number_literal "0x8d") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "uVar6 = (*(code *)puVar17)(puVar4);" (assignment_expression "uVar6 = (*(code *)puVar17)(puVar4)" (identifier "uVar6") (= "=") (call_expression "(*(code *)puVar17)(puVar4)" (parenthesized_expression "(*(code *)puVar17)" (( "(") (pointer_expression "*(code *)puVar17" (* "*") (cast_expression "(code *)puVar17" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar17"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "puVar17 = PTR_ReadBlobLSBShort_003a96fc;" (assignment_expression "puVar17 = PTR_ReadBlobLSBShort_003a96fc" (identifier "puVar17") (= "=") (identifier "PTR_ReadBlobLSBShort_003a96fc")) (; ";")) (expression_statement "puVar4[6] = uVar6;" (assignment_expression "puVar4[6] = uVar6" (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "uVar6 = (*(code *)puVar17)(puVar4);" (assignment_expression "uVar6 = (*(code *)puVar17)(puVar4)" (identifier "uVar6") (= "=") (call_expression "(*(code *)puVar17)(puVar4)" (parenthesized_expression "(*(code *)puVar17)" (( "(") (pointer_expression "*(code *)puVar17" (* "*") (cast_expression "(code *)puVar17" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar17"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "puVar17 = PTR_ReadBlobByte_003a97f0;" (assignment_expression "puVar17 = PTR_ReadBlobByte_003a97f0" (identifier "puVar17") (= "=") (identifier "PTR_ReadBlobByte_003a97f0")) (; ";")) (expression_statement "puVar4[7] = uVar6;" (assignment_expression "puVar4[7] = uVar6" (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "uVar7 = (*(code *)puVar17)(puVar4);" (assignment_expression "uVar7 = (*(code *)puVar17)(puVar4)" (identifier "uVar7") (= "=") (call_expression "(*(code *)puVar17)(puVar4)" (parenthesized_expression "(*(code *)puVar17)" (( "(") (pointer_expression "*(code *)puVar17" (* "*") (cast_expression "(code *)puVar17" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar17"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "puVar4[0xaf] = uVar7 & 4;" (assignment_expression "puVar4[0xaf] = uVar7 & 4" (subscript_expression "puVar4[0xaf]" (identifier "puVar4") ([ "[") (number_literal "0xaf") (] "]")) (= "=") (binary_expression "uVar7 & 4" (identifier "uVar7") (& "&") (number_literal "4"))) (; ";")) (expression_statement "uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (identifier "uVar8") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (identifier "uVar9") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (identifier "uVar10") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "local_18c = param_2;" (assignment_expression "local_18c = param_2" (identifier "local_18c") (= "=") (identifier "param_2")) (; ";")) (expression_statement "local_188 = param_1;" (assignment_expression "local_188 = param_1" (identifier "local_188") (= "=") (identifier "param_1")) (; ";")) (if_statement "if (0x15 < (uVar10 & 0xff)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }" (if "if") (parenthesized_expression "(0x15 < (uVar10 & 0xff))" (( "(") (binary_expression "0x15 < (uVar10 & 0xff)" (number_literal "0x15") (< "<") (parenthesized_expression "(uVar10 & 0xff)" (( "(") (binary_expression "uVar10 & 0xff" (identifier "uVar10") (& "&") (number_literal "0xff")) () ")"))) () ")")) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xee;\nLAB_002a6770:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -400;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }" ({ "{") (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" (if "if") (parenthesized_expression "(local_1a0 != (byte *)0x0)" (( "(") (binary_expression "local_1a0 != (byte *)0x0" (identifier "local_1a0") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar6 = 0xee;" (assignment_expression "uVar6 = 0xee" (identifier "uVar6") (= "=") (number_literal "0xee")) (; ";")) (labeled_statement "LAB_002a6770:\n          param_1 = param_1 + 0x2210;" (statement_identifier "LAB_002a6770") (: ":") (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" (identifier "param_1") (= "=") (binary_expression "param_1 + 0x2210" (identifier "param_1") (+ "+") (number_literal "0x2210"))) (; ";"))) (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" (identifier "puVar16") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28"))) (; ";")) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" (identifier "puVar33") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x25c4"))) (; ";")) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "puVar29") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x2560"))) (; ";")) (expression_statement "puVar17 = PTR_s_courses_003a88ec + -400;" (assignment_expression "puVar17 = PTR_s_courses_003a88ec + -400" (identifier "puVar17") (= "=") (binary_expression "PTR_s_courses_003a88ec + -400" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-400"))) (; ";")) (expression_statement "uVar18 = 0x1a9;" (assignment_expression "uVar18 = 0x1a9" (identifier "uVar18") (= "=") (number_literal "0x1a9")) (; ";")) (goto_statement "goto LAB_002a5e2c;" (goto "goto") (statement_identifier "LAB_002a5e2c") (; ";")) (} "}"))) (expression_statement "iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);" (assignment_expression "iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4)" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_EOFBlob_003a9748)(puVar4)" (parenthesized_expression "(*(code *)PTR_EOFBlob_003a9748)" (( "(") (pointer_expression "*(code *)PTR_EOFBlob_003a9748" (* "*") (cast_expression "(code *)PTR_EOFBlob_003a9748" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_EOFBlob_003a9748"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (if_statement "if (iVar11 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0xf0;\n          goto LAB_002a6244;\n        }" ({ "{") (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" (if "if") (parenthesized_expression "(local_1a0 != (byte *)0x0)" (( "(") (binary_expression "local_1a0 != (byte *)0x0" (identifier "local_1a0") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" (identifier "param_1") (= "=") (binary_expression "param_1 + 0x2210" (identifier "param_1") (+ "+") (number_literal "0x2210"))) (; ";")) (expression_statement "uVar6 = 0xf0;" (assignment_expression "uVar6 = 0xf0" (identifier "uVar6") (= "=") (number_literal "0xf0")) (; ";")) (goto_statement "goto LAB_002a6244;" (goto "goto") (statement_identifier "LAB_002a6244") (; ";")) (} "}"))) (expression_statement "uVar24 = 1 << (uVar10 & 0x1f);" (assignment_expression "uVar24 = 1 << (uVar10 & 0x1f)" (identifier "uVar24") (= "=") (binary_expression "1 << (uVar10 & 0x1f)" (number_literal "1") (<< "<<") (parenthesized_expression "(uVar10 & 0x1f)" (( "(") (binary_expression "uVar10 & 0x1f" (identifier "uVar10") (& "&") (number_literal "0x1f")) () ")")))) (; ";")) (if_statement "if (((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }" (if "if") (parenthesized_expression "(((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8))))" (( "(") (binary_expression "((uVar8 & 0xfffffffd) == 0) ||\n           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))" (parenthesized_expression "((uVar8 & 0xfffffffd) == 0)" (( "(") (binary_expression "(uVar8 & 0xfffffffd) == 0" (parenthesized_expression "(uVar8 & 0xfffffffd)" (( "(") (binary_expression "uVar8 & 0xfffffffd" (identifier "uVar8") (& "&") (number_literal "0xfffffffd")) () ")")) (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))" (( "(") (parenthesized_expression "(((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8))" (( "(") (binary_expression "((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)" (parenthesized_expression "((uVar7 & 4) != 0 && (0xfb < uVar8 - 3))" (( "(") (binary_expression "(uVar7 & 4) != 0 && (0xfb < uVar8 - 3)" (binary_expression "(uVar7 & 4) != 0" (parenthesized_expression "(uVar7 & 4)" (( "(") (binary_expression "uVar7 & 4" (identifier "uVar7") (& "&") (number_literal "4")) () ")")) (!= "!=") (number_literal "0")) (&& "&&") (parenthesized_expression "(0xfb < uVar8 - 3)" (( "(") (binary_expression "0xfb < uVar8 - 3" (number_literal "0xfb") (< "<") (binary_expression "uVar8 - 3" (identifier "uVar8") (- "-") (number_literal "3"))) () ")"))) () ")")) (|| "||") (parenthesized_expression "(iVar5 != 8)" (( "(") (binary_expression "iVar5 != 8" (identifier "iVar5") (!= "!=") (number_literal "8")) () ")"))) () ")")) () ")"))) () ")")) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf5;\n          goto LAB_002a6770;\n        }" ({ "{") (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" (if "if") (parenthesized_expression "(local_1a0 != (byte *)0x0)" (( "(") (binary_expression "local_1a0 != (byte *)0x0" (identifier "local_1a0") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar6 = 0xf5;" (assignment_expression "uVar6 = 0xf5" (identifier "uVar6") (= "=") (number_literal "0xf5")) (; ";")) (goto_statement "goto LAB_002a6770;" (goto "goto") (statement_identifier "LAB_002a6770") (; ";")) (} "}"))) (if_statement "if (4 < uVar8) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }" (if "if") (parenthesized_expression "(4 < uVar8)" (( "(") (binary_expression "4 < uVar8" (number_literal "4") (< "<") (identifier "uVar8")) () ")")) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xf7;\n          goto LAB_002a6770;\n        }" ({ "{") (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" (if "if") (parenthesized_expression "(local_1a0 != (byte *)0x0)" (( "(") (binary_expression "local_1a0 != (byte *)0x0" (identifier "local_1a0") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar6 = 0xf7;" (assignment_expression "uVar6 = 0xf7" (identifier "uVar6") (= "=") (number_literal "0xf7")) (; ";")) (goto_statement "goto LAB_002a6770;" (goto "goto") (statement_identifier "LAB_002a6770") (; ";")) (} "}"))) (if_statement "if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }" (if "if") (parenthesized_expression "((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1))" (( "(") (binary_expression "(0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)" (parenthesized_expression "(0x7ffe < puVar4[6] - 1)" (( "(") (binary_expression "0x7ffe < puVar4[6] - 1" (number_literal "0x7ffe") (< "<") (binary_expression "puVar4[6] - 1" (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]")) (- "-") (number_literal "1"))) () ")")) (|| "||") (parenthesized_expression "(0x7ffe < puVar4[7] - 1)" (( "(") (binary_expression "0x7ffe < puVar4[7] - 1" (number_literal "0x7ffe") (< "<") (binary_expression "puVar4[7] - 1" (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]")) (- "-") (number_literal "1"))) () ")"))) () ")")) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0xfa;\n          goto LAB_002a6770;\n        }" ({ "{") (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" (if "if") (parenthesized_expression "(local_1a0 != (byte *)0x0)" (( "(") (binary_expression "local_1a0 != (byte *)0x0" (identifier "local_1a0") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar6 = 0xfa;" (assignment_expression "uVar6 = 0xfa" (identifier "uVar6") (= "=") (number_literal "0xfa")) (; ";")) (goto_statement "goto LAB_002a6770;" (goto "goto") (statement_identifier "LAB_002a6770") (; ";")) (} "}"))) (if_statement "if ((uVar7 & 2) == 0) {\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }\n        else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }" (if "if") (parenthesized_expression "((uVar7 & 2) == 0)" (( "(") (binary_expression "(uVar7 & 2) == 0" (parenthesized_expression "(uVar7 & 2)" (( "(") (binary_expression "uVar7 & 2" (identifier "uVar7") (& "&") (number_literal "2")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          pbVar12 = local_14c;\n          do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);\n        }" ({ "{") (expression_statement "pbVar12 = local_14c;" (assignment_expression "pbVar12 = local_14c" (identifier "pbVar12") (= "=") (identifier "local_14c")) (; ";")) (do_statement "do {\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          } while (local_14c + uVar8 != pbVar15);" (do "do") (compound_statement "{\n            pbVar15 = pbVar12 + 1;\n            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n            *pbVar12 = bVar23;\n            pbVar12 = pbVar15;\n          }" ({ "{") (expression_statement "pbVar15 = pbVar12 + 1;" (assignment_expression "pbVar15 = pbVar12 + 1" (identifier "pbVar15") (= "=") (binary_expression "pbVar12 + 1" (identifier "pbVar12") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (identifier "bVar23") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "*pbVar12 = bVar23;" (assignment_expression "*pbVar12 = bVar23" (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")) (= "=") (identifier "bVar23")) (; ";")) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" (identifier "pbVar12") (= "=") (identifier "pbVar15")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_14c + uVar8 != pbVar15)" (( "(") (binary_expression "local_14c + uVar8 != pbVar15" (binary_expression "local_14c + uVar8" (identifier "local_14c") (+ "+") (identifier "uVar8")) (!= "!=") (identifier "pbVar15")) () ")")) (; ";")) (} "}")) (else_clause "else {\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }" (else "else") (compound_statement "{\n          pbVar12 = local_14c;\n          do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }" ({ "{") (expression_statement "pbVar12 = local_14c;" (assignment_expression "pbVar12 = local_14c" (identifier "pbVar12") (= "=") (identifier "local_14c")) (; ";")) (do_statement "do {\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          } while (pbVar12 != local_14c + uVar8);" (do "do") (compound_statement "{\n            *pbVar12 = 0;\n            pbVar12 = pbVar12 + 1;\n          }" ({ "{") (expression_statement "*pbVar12 = 0;" (assignment_expression "*pbVar12 = 0" (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")) (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar12 = pbVar12 + 1;" (assignment_expression "pbVar12 = pbVar12 + 1" (identifier "pbVar12") (= "=") (binary_expression "pbVar12 + 1" (identifier "pbVar12") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar12 != local_14c + uVar8)" (( "(") (binary_expression "pbVar12 != local_14c + uVar8" (identifier "pbVar12") (!= "!=") (binary_expression "local_14c + uVar8" (identifier "local_14c") (+ "+") (identifier "uVar8"))) () ")")) (; ";")) (expression_statement "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (} "}")))) (if_statement "if ((uVar8 & 1) == 0) {\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }" (if "if") (parenthesized_expression "((uVar8 & 1) == 0)" (( "(") (binary_expression "(uVar8 & 1) == 0" (parenthesized_expression "(uVar8 & 1)" (( "(") (binary_expression "uVar8 & 1" (identifier "uVar8") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n        }" ({ "{") (expression_statement "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (} "}"))) (expression_statement "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_EOFBlob_003a9748)(puVar4)" (parenthesized_expression "(*(code *)PTR_EOFBlob_003a9748)" (( "(") (pointer_expression "*(code *)PTR_EOFBlob_003a9748" (* "*") (cast_expression "(code *)PTR_EOFBlob_003a9748" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_EOFBlob_003a9748"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (if_statement "if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x110;\n          goto LAB_002a6244;\n        }" ({ "{") (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" (if "if") (parenthesized_expression "(local_1a0 != (byte *)0x0)" (( "(") (binary_expression "local_1a0 != (byte *)0x0" (identifier "local_1a0") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" (identifier "param_1") (= "=") (binary_expression "param_1 + 0x2210" (identifier "param_1") (+ "+") (number_literal "0x2210"))) (; ";")) (expression_statement "uVar6 = 0x110;" (assignment_expression "uVar6 = 0x110" (identifier "uVar6") (= "=") (number_literal "0x110")) (; ";")) (goto_statement "goto LAB_002a6244;" (goto "goto") (statement_identifier "LAB_002a6244") (; ";")) (} "}"))) (expression_statement "uVar38 = uVar8;" (assignment_expression "uVar38 = uVar8" (identifier "uVar38") (= "=") (identifier "uVar8")) (; ";")) (if_statement "if (puVar4[0xaf] != 0) {\n          uVar38 = uVar8 + 1;\n        }" (if "if") (parenthesized_expression "(puVar4[0xaf] != 0)" (( "(") (binary_expression "puVar4[0xaf] != 0" (subscript_expression "puVar4[0xaf]" (identifier "puVar4") ([ "[") (number_literal "0xaf") (] "]")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uVar38 = uVar8 + 1;\n        }" ({ "{") (expression_statement "uVar38 = uVar8 + 1;" (assignment_expression "uVar38 = uVar8 + 1" (identifier "uVar38") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (} "}"))) (expression_statement "uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];" (assignment_expression "uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7]" (identifier "uVar1") (= "=") (binary_expression "(ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7]" (cast_expression "(ulonglong)(uint)puVar4[6]" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (cast_expression "(uint)puVar4[6]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]")))) (* "*") (cast_expression "(ulonglong)(uint)puVar4[7]" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (cast_expression "(uint)puVar4[7]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]")))))) (; ";")) (expression_statement "lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);" (assignment_expression "lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" (identifier "lVar46") (= "=") (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetBlobSize_003a94b8)" (( "(") (pointer_expression "*(code *)PTR_GetBlobSize_003a94b8" (* "*") (cast_expression "(code *)PTR_GetBlobSize_003a94b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetBlobSize_003a94b8"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (if_statement "if (lVar46 == 0) {\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }" (if "if") (parenthesized_expression "(lVar46 == 0)" (( "(") (binary_expression "lVar46 == 0" (identifier "lVar46") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x116;\nLAB_002a6a54:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + 0x4a0;\n          uVar18 = 0x1a9;\n          goto LAB_002a5e2c;\n        }" ({ "{") (labeled_statement "LAB_002a6a10:\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" (statement_identifier "LAB_002a6a10") (: ":") (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (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 "(local_178)" (( "(") (identifier "local_178") () ")"))) (; ";")) (} "}")))) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" (if "if") (parenthesized_expression "(local_1a0 != (byte *)0x0)" (( "(") (binary_expression "local_1a0 != (byte *)0x0" (identifier "local_1a0") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar6 = 0x116;" (assignment_expression "uVar6 = 0x116" (identifier "uVar6") (= "=") (number_literal "0x116")) (; ";")) (labeled_statement "LAB_002a6a54:\n          param_1 = param_1 + 0x2210;" (statement_identifier "LAB_002a6a54") (: ":") (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" (identifier "param_1") (= "=") (binary_expression "param_1 + 0x2210" (identifier "param_1") (+ "+") (number_literal "0x2210"))) (; ";"))) (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" (identifier "puVar16") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28"))) (; ";")) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" (identifier "puVar33") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x25c4"))) (; ";")) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "puVar29") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x2560"))) (; ";")) (expression_statement "puVar17 = PTR_s_courses_003a88ec + 0x4a0;" (assignment_expression "puVar17 = PTR_s_courses_003a88ec + 0x4a0" (identifier "puVar17") (= "=") (binary_expression "PTR_s_courses_003a88ec + 0x4a0" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "0x4a0"))) (; ";")) (expression_statement "uVar18 = 0x1a9;" (assignment_expression "uVar18 = 0x1a9" (identifier "uVar18") (= "=") (number_literal "0x1a9")) (; ";")) (goto_statement "goto LAB_002a5e2c;" (goto "goto") (statement_identifier "LAB_002a5e2c") (; ";")) (} "}"))) (expression_statement "local_180 = (int)(uVar1 >> 0x20);" (assignment_expression "local_180 = (int)(uVar1 >> 0x20)" (identifier "local_180") (= "=") (cast_expression "(int)(uVar1 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uVar1 >> 0x20)" (( "(") (binary_expression "uVar1 >> 0x20" (identifier "uVar1") (>> ">>") (number_literal "0x20")) () ")")))) (; ";")) (expression_statement "lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);" (assignment_expression "lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff)" (identifier "lVar46") (= "=") (binary_expression "(ulonglong)uVar38 * (uVar1 & 0xffffffff)" (cast_expression "(ulonglong)uVar38" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar38")) (* "*") (parenthesized_expression "(uVar1 & 0xffffffff)" (( "(") (binary_expression "uVar1 & 0xffffffff" (identifier "uVar1") (& "&") (number_literal "0xffffffff")) () ")")))) (; ";")) (expression_statement "uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);" (assignment_expression "uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20)" (identifier "uVar39") (= "=") (binary_expression "uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20)" (binary_expression "uVar38 * local_180" (identifier "uVar38") (* "*") (identifier "local_180")) (+ "+") (cast_expression "(int)((ulonglong)lVar46 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)lVar46 >> 0x20)" (( "(") (binary_expression "(ulonglong)lVar46 >> 0x20" (cast_expression "(ulonglong)lVar46" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "lVar46")) (>> ">>") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);" (assignment_expression "uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" (identifier "uVar47") (= "=") (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetBlobSize_003a94b8)" (( "(") (pointer_expression "*(code *)PTR_GetBlobSize_003a94b8" (* "*") (cast_expression "(code *)PTR_GetBlobSize_003a94b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetBlobSize_003a94b8"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47);" (assignment_expression "uVar47 = (*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47)" (identifier "uVar47") (= "=") (call_expression "(*(code *)PTR_FUN_003a89c0)\n                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47)" (parenthesized_expression "(*(code *)PTR_FUN_003a89c0)" (( "(") (pointer_expression "*(code *)PTR_FUN_003a89c0" (* "*") (cast_expression "(code *)PTR_FUN_003a89c0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_FUN_003a89c0"))) () ")")) (argument_list "(uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),\n                            (int)uVar47)" (( "(") (binary_expression "uVar39 & 0x1fffffff" (identifier "uVar39") (& "&") (number_literal "0x1fffffff")) (, ",") (cast_expression "(int)lVar46" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "lVar46")) (, ",") (cast_expression "(int)((ulonglong)uVar47 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar47 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar47 >> 0x20" (cast_expression "(ulonglong)uVar47" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar47")) (>> ">>") (number_literal "0x20")) () ")"))) (, ",") (cast_expression "(int)uVar47" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar47")) () ")")))) (; ";")) (if_statement "if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;" (if "if") (parenthesized_expression "(((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47))" (( "(") (binary_expression "((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)" (parenthesized_expression "((int)((ulonglong)uVar47 >> 0x20) != 0)" (( "(") (binary_expression "(int)((ulonglong)uVar47 >> 0x20) != 0" (cast_expression "(int)((ulonglong)uVar47 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar47 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar47 >> 0x20" (cast_expression "(ulonglong)uVar47" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar47")) (>> ">>") (number_literal "0x20")) () ")"))) (!= "!=") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(0xfe < (uint)uVar47)" (( "(") (binary_expression "0xfe < (uint)uVar47" (number_literal "0xfe") (< "<") (cast_expression "(uint)uVar47" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar47"))) () ")"))) () ")")) (goto_statement "goto LAB_002a6a10;" (goto "goto") (statement_identifier "LAB_002a6a10") (; ";"))) (expression_statement "uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);" (assignment_expression "uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" (identifier "uVar2") (= "=") (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetBlobSize_003a94b8)" (( "(") (pointer_expression "*(code *)PTR_GetBlobSize_003a94b8" (* "*") (cast_expression "(code *)PTR_GetBlobSize_003a94b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetBlobSize_003a94b8"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (if_statement "if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }" (if "if") (parenthesized_expression "(uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24)" (( "(") (binary_expression "uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24" (identifier "uVar2") (< "<") (binary_expression "(ulonglong)uVar9 * (ulonglong)uVar24" (cast_expression "(ulonglong)uVar9" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar9")) (* "*") (cast_expression "(ulonglong)uVar24" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar24")))) () ")")) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x118;\n          goto LAB_002a6a54;\n        }" ({ "{") (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" (if "if") (parenthesized_expression "(local_1a0 != (byte *)0x0)" (( "(") (binary_expression "local_1a0 != (byte *)0x0" (identifier "local_1a0") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar6 = 0x118;" (assignment_expression "uVar6 = 0x118" (identifier "uVar6") (= "=") (number_literal "0x118")) (; ";")) (goto_statement "goto LAB_002a6a54;" (goto "goto") (statement_identifier "LAB_002a6a54") (; ";")) (} "}"))) (if_statement "if (uVar9 != 0) {\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }" (if "if") (parenthesized_expression "(uVar9 != 0)" (( "(") (binary_expression "uVar9 != 0" (identifier "uVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));\n          if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }\n          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);\n          unaff_s8 = local_178;\n          if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }\n        }" ({ "{") (expression_statement "local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f));" (assignment_expression "local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f))" (identifier "local_178") (= "=") (cast_expression "(byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f))" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)\n                                        (uVar9,3 << (uVar10 & 0x1f))" (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 "(uVar9,3 << (uVar10 & 0x1f))" (( "(") (identifier "uVar9") (, ",") (binary_expression "3 << (uVar10 & 0x1f)" (number_literal "3") (<< "<<") (parenthesized_expression "(uVar10 & 0x1f)" (( "(") (binary_expression "uVar10 & 0x1f" (identifier "uVar10") (& "&") (number_literal "0x1f")) () ")"))) () ")"))))) (; ";")) (if_statement "if (local_178 == (byte *)0x0) {\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }" (if "if") (parenthesized_expression "(local_178 == (byte *)0x0)" (( "(") (binary_expression "local_178 == (byte *)0x0" (identifier "local_178") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x121;\n            goto LAB_002a705c;\n          }" ({ "{") (if_statement "if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }" (if "if") (parenthesized_expression "(local_1a0 != (byte *)0x0)" (( "(") (binary_expression "local_1a0 != (byte *)0x0" (identifier "local_1a0") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar6 = 0x121;" (assignment_expression "uVar6 = 0x121" (identifier "uVar6") (= "=") (number_literal "0x121")) (; ";")) (goto_statement "goto LAB_002a705c;" (goto "goto") (statement_identifier "LAB_002a705c") (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);" (call_expression "(*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3)" (parenthesized_expression "(*(code *)PTR_memset_003a96d4)" (( "(") (pointer_expression "*(code *)PTR_memset_003a96d4" (* "*") (cast_expression "(code *)PTR_memset_003a96d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_003a96d4"))) () ")")) (argument_list "(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3)" (( "(") (identifier "local_178") (, ",") (number_literal "0") (, ",") (binary_expression "(uVar9 << (uVar10 & 0x1f)) * 3" (parenthesized_expression "(uVar9 << (uVar10 & 0x1f))" (( "(") (binary_expression "uVar9 << (uVar10 & 0x1f)" (identifier "uVar9") (<< "<<") (parenthesized_expression "(uVar10 & 0x1f)" (( "(") (binary_expression "uVar10 & 0x1f" (identifier "uVar10") (& "&") (number_literal "0x1f")) () ")"))) () ")")) (* "*") (number_literal "3")) () ")"))) (; ";")) (expression_statement "unaff_s8 = local_178;" (assignment_expression "unaff_s8 = local_178" (identifier "unaff_s8") (= "=") (identifier "local_178")) (; ";")) (if_statement "if ((int)uVar9 < 1) {\n            uVar8 = 0;\n          }\n          else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }" (if "if") (parenthesized_expression "((int)uVar9 < 1)" (( "(") (binary_expression "(int)uVar9 < 1" (cast_expression "(int)uVar9" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar9")) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n            uVar8 = 0;\n          }" ({ "{") (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }" (else "else") (compound_statement "{\n            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);\n            uVar13 = 0;\n            do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);\n          }" ({ "{") (expression_statement "dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);" (assignment_expression "dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" (identifier "dVar45") (= "=") (pointer_expression "*(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" (* "*") (cast_expression "(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8)" (( "(") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x5ae8")) () ")"))))) (; ";")) (expression_statement "uVar13 = 0;" (assignment_expression "uVar13 = 0" (identifier "uVar13") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            } while (uVar9 != uVar13);" (do "do") (compound_statement "{\n              pbVar15 = unaff_s8 + uVar24;\n              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);\n              pbVar12 = unaff_s8;\n              do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);\n              uVar13 = uVar13 + 1;\n              uVar8 = uVar9;\n            }" ({ "{") (expression_statement "pbVar15 = unaff_s8 + uVar24;" (assignment_expression "pbVar15 = unaff_s8 + uVar24" (identifier "pbVar15") (= "=") (binary_expression "unaff_s8 + uVar24" (identifier "unaff_s8") (+ "+") (identifier "uVar24"))) (; ";")) (expression_statement "dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);" (assignment_expression "dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410)" (identifier "dVar42") (= "=") (pointer_expression "*(double *)(PTR_LAB_003a88e0 + 0x1410)" (* "*") (cast_expression "(double *)(PTR_LAB_003a88e0 + 0x1410)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(PTR_LAB_003a88e0 + 0x1410)" (( "(") (binary_expression "PTR_LAB_003a88e0 + 0x1410" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x1410")) () ")"))))) (; ";")) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" (identifier "pbVar12") (= "=") (identifier "unaff_s8")) (; ";")) (do_statement "do {\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              } while (pbVar15 != unaff_s8);" (do "do") (compound_statement "{\n                unaff_s8 = pbVar12 + 1;\n                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);\n                puVar17 = PTR_EOFBlob_003a9748;\n                if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }\n                *pbVar12 = bVar23;\n                iVar5 = (*(code *)puVar17)(puVar4);\n                if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }\n                pbVar12 = unaff_s8;\n              }" ({ "{") (expression_statement "unaff_s8 = pbVar12 + 1;" (assignment_expression "unaff_s8 = pbVar12 + 1" (identifier "unaff_s8") (= "=") (binary_expression "pbVar12 + 1" (identifier "pbVar12") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" (parenthesized_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobLSBShort_003a96fc" (* "*") (cast_expression "(code *)PTR_ReadBlobLSBShort_003a96fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobLSBShort_003a96fc"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "puVar17 = PTR_EOFBlob_003a9748;" (assignment_expression "puVar17 = PTR_EOFBlob_003a9748" (identifier "puVar17") (= "=") (identifier "PTR_EOFBlob_003a9748")) (; ";")) (if_statement "if ((float)iVar5 <= 0.0) {\n                  bVar23 = 0;\n                }\n                else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }" (if "if") (parenthesized_expression "((float)iVar5 <= 0.0)" (( "(") (binary_expression "(float)iVar5 <= 0.0" (cast_expression "(float)iVar5" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (identifier "iVar5")) (<= "<=") (number_literal "0.0")) () ")")) (compound_statement "{\n                  bVar23 = 0;\n                }" ({ "{") (expression_statement "bVar23 = 0;" (assignment_expression "bVar23 = 0" (identifier "bVar23") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }" (else "else") (if_statement "if ((double)iVar5 / dVar43 < dVar45) {\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }\n                else {\n                  bVar23 = 0xff;\n                }" (if "if") (parenthesized_expression "((double)iVar5 / dVar43 < dVar45)" (( "(") (binary_expression "(double)iVar5 / dVar43 < dVar45" (binary_expression "(double)iVar5 / dVar43" (cast_expression "(double)iVar5" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "iVar5")) (/ "/") (identifier "dVar43")) (< "<") (identifier "dVar45")) () ")")) (compound_statement "{\n                  dVar41 = (double)iVar5 / dVar43 + dVar44;\n                  if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }\n                }" ({ "{") (expression_statement "dVar41 = (double)iVar5 / dVar43 + dVar44;" (assignment_expression "dVar41 = (double)iVar5 / dVar43 + dVar44" (identifier "dVar41") (= "=") (binary_expression "(double)iVar5 / dVar43 + dVar44" (binary_expression "(double)iVar5 / dVar43" (cast_expression "(double)iVar5" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "iVar5")) (/ "/") (identifier "dVar43")) (+ "+") (identifier "dVar44"))) (; ";")) (if_statement "if (dVar41 < dVar42) {\n                    bVar23 = (byte)(int)dVar41;\n                  }\n                  else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }" (if "if") (parenthesized_expression "(dVar41 < dVar42)" (( "(") (binary_expression "dVar41 < dVar42" (identifier "dVar41") (< "<") (identifier "dVar42")) () ")")) (compound_statement "{\n                    bVar23 = (byte)(int)dVar41;\n                  }" ({ "{") (expression_statement "bVar23 = (byte)(int)dVar41;" (assignment_expression "bVar23 = (byte)(int)dVar41" (identifier "bVar23") (= "=") (cast_expression "(byte)(int)dVar41" (( "(") (type_descriptor "byte" (type_identifier "byte")) () ")") (cast_expression "(int)dVar41" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "dVar41")))) (; ";")) (} "}")) (else_clause "else {\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }" (else "else") (compound_statement "{\n                    bVar23 = (byte)(int)(dVar41 - dVar42);\n                  }" ({ "{") (expression_statement "bVar23 = (byte)(int)(dVar41 - dVar42);" (assignment_expression "bVar23 = (byte)(int)(dVar41 - dVar42)" (identifier "bVar23") (= "=") (call_expression "(byte)(int)(dVar41 - dVar42)" (call_expression "(byte)(int)" (parenthesized_expression "(byte)" (( "(") (identifier "byte") () ")")) (argument_list "(int)" (( "(") (identifier "int") () ")"))) (argument_list "(dVar41 - dVar42)" (( "(") (binary_expression "dVar41 - dVar42" (identifier "dVar41") (- "-") (identifier "dVar42")) () ")")))) (; ";")) (} "}")))) (} "}")) (else_clause "else {\n                  bVar23 = 0xff;\n                }" (else "else") (compound_statement "{\n                  bVar23 = 0xff;\n                }" ({ "{") (expression_statement "bVar23 = 0xff;" (assignment_expression "bVar23 = 0xff" (identifier "bVar23") (= "=") (number_literal "0xff")) (; ";")) (} "}")))))) (expression_statement "*pbVar12 = bVar23;" (assignment_expression "*pbVar12 = bVar23" (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")) (= "=") (identifier "bVar23")) (; ";")) (expression_statement "iVar5 = (*(code *)puVar17)(puVar4);" (assignment_expression "iVar5 = (*(code *)puVar17)(puVar4)" (identifier "iVar5") (= "=") (call_expression "(*(code *)puVar17)(puVar4)" (parenthesized_expression "(*(code *)puVar17)" (( "(") (pointer_expression "*(code *)puVar17" (* "*") (cast_expression "(code *)puVar17" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar17"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (if_statement "if (iVar5 != 0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n                  if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }\n                  param_1 = param_1 + 0x2210;\n                  uVar6 = 299;\n                  goto LAB_002a6244;\n                }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (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 "(local_178)" (( "(") (identifier "local_178") () ")"))) (; ";")) (if_statement "if (local_1a0 != (byte *)0x0) {\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }" (if "if") (parenthesized_expression "(local_1a0 != (byte *)0x0)" (( "(") (binary_expression "local_1a0 != (byte *)0x0" (identifier "local_1a0") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n                  }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" (identifier "param_1") (= "=") (binary_expression "param_1 + 0x2210" (identifier "param_1") (+ "+") (number_literal "0x2210"))) (; ";")) (expression_statement "uVar6 = 299;" (assignment_expression "uVar6 = 299" (identifier "uVar6") (= "=") (number_literal "299")) (; ";")) (goto_statement "goto LAB_002a6244;" (goto "goto") (statement_identifier "LAB_002a6244") (; ";")) (} "}"))) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" (identifier "pbVar12") (= "=") (identifier "unaff_s8")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar15 != unaff_s8)" (( "(") (binary_expression "pbVar15 != unaff_s8" (identifier "pbVar15") (!= "!=") (identifier "unaff_s8")) () ")")) (; ";")) (expression_statement "uVar13 = uVar13 + 1;" (assignment_expression "uVar13 = uVar13 + 1" (identifier "uVar13") (= "=") (binary_expression "uVar13 + 1" (identifier "uVar13") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "uVar8 = uVar9;" (assignment_expression "uVar8 = uVar9" (identifier "uVar8") (= "=") (identifier "uVar9")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar9 != uVar13)" (( "(") (binary_expression "uVar9 != uVar13" (identifier "uVar9") (!= "!=") (identifier "uVar13")) () ")")) (; ";")) (} "}")))) (} "}"))) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" (identifier "pbVar12") (= "=") (identifier "unaff_s8")) (; ";")) (if_statement "if (((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }" (if "if") (parenthesized_expression "(((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0))" (( "(") (binary_expression "((uVar7 & 8) != 0) &&\n           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)" (parenthesized_expression "((uVar7 & 8) != 0)" (( "(") (binary_expression "(uVar7 & 8) != 0" (parenthesized_expression "(uVar7 & 8)" (( "(") (binary_expression "uVar7 & 8" (identifier "uVar7") (& "&") (number_literal "8")) () ")")) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)" (( "(") (comma_expression "uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0" (assignment_expression "uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" (identifier "uVar13") (= "=") (call_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4)" (parenthesized_expression "(*(code *)PTR_ReadBlobLSBShort_003a96fc)" (( "(") (pointer_expression "*(code *)PTR_ReadBlobLSBShort_003a96fc" (* "*") (cast_expression "(code *)PTR_ReadBlobLSBShort_003a96fc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlobLSBShort_003a96fc"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (, ",") (binary_expression "uVar13 != 0" (identifier "uVar13") (!= "!=") (number_literal "0"))) () ")"))) () ")")) (compound_statement "{\n          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);\n          if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }\n          iVar11 = uVar13 - 1;\n          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);\n          puVar17 = PTR_SetImageProperty_003a9534;\n          if (iVar11 != iVar5) goto LAB_002a7380;\n          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;\n          unaff_s8[iVar11] = 0;\n          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);\n          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n          pbVar12 = unaff_s8;\n          if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }\n        }" ({ "{") (expression_statement "unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);" (assignment_expression "unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1)" (identifier "unaff_s8") (= "=") (cast_expression "(byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,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 "(uVar13,1)" (( "(") (identifier "uVar13") (, ",") (number_literal "1") () ")"))))) (; ";")) (if_statement "if (unaff_s8 == (byte *)0x0) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }" (if "if") (parenthesized_expression "(unaff_s8 == (byte *)0x0)" (( "(") (binary_expression "unaff_s8 == (byte *)0x0" (identifier "unaff_s8") (== "==") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }\n            uVar6 = 0x13e;\n            goto LAB_002a705c;\n          }" ({ "{") (if_statement "if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_1a0 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }" (if "if") (parenthesized_expression "(local_1a0 != (byte *)0x0)" (( "(") (binary_expression "local_1a0 != (byte *)0x0" (identifier "local_1a0") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n            }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar6 = 0x13e;" (assignment_expression "uVar6 = 0x13e" (identifier "uVar6") (= "=") (number_literal "0x13e")) (; ";")) (goto_statement "goto LAB_002a705c;" (goto "goto") (statement_identifier "LAB_002a705c") (; ";")) (} "}"))) (expression_statement "iVar11 = uVar13 - 1;" (assignment_expression "iVar11 = uVar13 - 1" (identifier "iVar11") (= "=") (binary_expression "uVar13 - 1" (identifier "uVar13") (- "-") (number_literal "1"))) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8)" (parenthesized_expression "(*(code *)PTR_ReadBlob_003a8dac)" (( "(") (pointer_expression "*(code *)PTR_ReadBlob_003a8dac" (* "*") (cast_expression "(code *)PTR_ReadBlob_003a8dac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlob_003a8dac"))) () ")")) (argument_list "(puVar4,iVar11,unaff_s8)" (( "(") (identifier "puVar4") (, ",") (identifier "iVar11") (, ",") (identifier "unaff_s8") () ")")))) (; ";")) (expression_statement "puVar17 = PTR_SetImageProperty_003a9534;" (assignment_expression "puVar17 = PTR_SetImageProperty_003a9534" (identifier "puVar17") (= "=") (identifier "PTR_SetImageProperty_003a9534")) (; ";")) (if_statement "if (iVar11 != iVar5) goto LAB_002a7380;" (if "if") (parenthesized_expression "(iVar11 != iVar5)" (( "(") (binary_expression "iVar11 != iVar5" (identifier "iVar11") (!= "!=") (identifier "iVar5")) () ")")) (goto_statement "goto LAB_002a7380;" (goto "goto") (statement_identifier "LAB_002a7380") (; ";"))) (expression_statement "puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;" (assignment_expression "puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928" (identifier "puVar29") (= "=") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x1928"))) (; ";")) (expression_statement "unaff_s8[iVar11] = 0;" (assignment_expression "unaff_s8[iVar11] = 0" (subscript_expression "unaff_s8[iVar11]" (identifier "unaff_s8") ([ "[") (identifier "iVar11") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "(*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);" (call_expression "(*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2)" (parenthesized_expression "(*(code *)puVar17)" (( "(") (pointer_expression "*(code *)puVar17" (* "*") (cast_expression "(code *)puVar17" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar17"))) () ")")) (argument_list "(puVar4,puVar29,unaff_s8,param_2)" (( "(") (identifier "puVar4") (, ",") (identifier "puVar29") (, ",") (identifier "unaff_s8") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(unaff_s8);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(unaff_s8)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" (( "(") (pointer_expression "*(code *)PTR_DestroyString_003a9074" (* "*") (cast_expression "(code *)PTR_DestroyString_003a9074" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyString_003a9074"))) () ")")) (argument_list "(unaff_s8)" (( "(") (identifier "unaff_s8") () ")"))) (; ";")) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" (identifier "pbVar12") (= "=") (identifier "unaff_s8")) (; ";")) (if_statement "if ((uVar13 & 1) == 0) {\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }" (if "if") (parenthesized_expression "((uVar13 & 1) == 0)" (( "(") (binary_expression "(uVar13 & 1) == 0" (parenthesized_expression "(uVar13 & 1)" (( "(") (binary_expression "uVar13 & 1" (identifier "uVar13") (& "&") (number_literal "1")) () ")")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          }" ({ "{") (expression_statement "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (} "}"))) (} "}"))) (expression_statement "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_EOFBlob_003a9748)(puVar4)" (parenthesized_expression "(*(code *)PTR_EOFBlob_003a9748)" (( "(") (pointer_expression "*(code *)PTR_EOFBlob_003a9748" (* "*") (cast_expression "(code *)PTR_EOFBlob_003a9748" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_EOFBlob_003a9748"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "unaff_s8 = pbVar12;" (assignment_expression "unaff_s8 = pbVar12" (identifier "unaff_s8") (= "=") (identifier "pbVar12")) (; ";")) (if_statement "if (iVar5 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          param_1 = param_1 + 0x2210;\n          uVar6 = 0x14d;\n          goto LAB_002a6244;\n        }" ({ "{") (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" (if "if") (parenthesized_expression "(local_1a0 != (byte *)0x0)" (( "(") (binary_expression "local_1a0 != (byte *)0x0" (identifier "local_1a0") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" (identifier "param_1") (= "=") (binary_expression "param_1 + 0x2210" (identifier "param_1") (+ "+") (number_literal "0x2210"))) (; ";")) (expression_statement "uVar6 = 0x14d;" (assignment_expression "uVar6 = 0x14d" (identifier "uVar6") (= "=") (number_literal "0x14d")) (; ";")) (goto_statement "goto LAB_002a6244;" (goto "goto") (statement_identifier "LAB_002a6244") (; ";")) (} "}"))) (if_statement "if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        break;" (if "if") (parenthesized_expression "(((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))" (( "(") (binary_expression "((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b])" (parenthesized_expression "((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0))" (( "(") (binary_expression "(*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)" (parenthesized_expression "(*(int *)(param_1 + 0x1dc) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x1dc) != 0" (pointer_expression "*(int *)(param_1 + 0x1dc)" (* "*") (cast_expression "(int *)(param_1 + 0x1dc)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x1dc)" (( "(") (binary_expression "param_1 + 0x1dc" (identifier "param_1") (+ "+") (number_literal "0x1dc")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "(*(int *)(param_1 + 0x2c) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x2c) != 0" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (!= "!=") (number_literal "0")) () ")"))) () ")")) (&& "&&") (parenthesized_expression "((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b])" (( "(") (binary_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]" (binary_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U" (parenthesized_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28))" (( "(") (binary_expression "*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (- "-") (number_literal "1U")) (<= "<=") (cast_expression "(uint)puVar4[0x9b]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar4[0x9b]" (identifier "puVar4") ([ "[") (number_literal "0x9b") (] "]")))) () ")"))) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);" (assignment_expression "local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2)" (identifier "local_164") (= "=") (call_expression "(*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2)" (parenthesized_expression "(*(code *)PTR_SetImageExtent_003a94ac)" (( "(") (pointer_expression "*(code *)PTR_SetImageExtent_003a94ac" (* "*") (cast_expression "(code *)PTR_SetImageExtent_003a94ac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SetImageExtent_003a94ac"))) () ")")) (argument_list "(puVar4,puVar4[6],puVar4[7],param_2)" (( "(") (identifier "puVar4") (, ",") (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]")) (, ",") (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]")) (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (local_164 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }" (if "if") (parenthesized_expression "(local_164 == 0)" (( "(") (binary_expression "local_164 == 0" (identifier "local_164") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          goto LAB_002a57d0;\n        }" ({ "{") (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" (if "if") (parenthesized_expression "(local_1a0 != (byte *)0x0)" (( "(") (binary_expression "local_1a0 != (byte *)0x0" (identifier "local_1a0") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (goto_statement "goto LAB_002a57d0;" (goto "goto") (statement_identifier "LAB_002a57d0") (; ";")) (} "}"))) (expression_statement "uVar14 = uVar38 + 1;" (assignment_expression "uVar14 = uVar38 + 1" (identifier "uVar14") (= "=") (binary_expression "uVar38 + 1" (identifier "uVar38") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_17c = (uint)uVar1;" (assignment_expression "local_17c = (uint)uVar1" (identifier "local_17c") (= "=") (cast_expression "(uint)uVar1" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (identifier "uVar1"))) (; ";")) (expression_statement "uVar13 = uVar38;" (assignment_expression "uVar13 = uVar38" (identifier "uVar13") (= "=") (identifier "uVar38")) (; ";")) (if_statement "if ((uVar38 & 1) != 0) {\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }" (if "if") (parenthesized_expression "((uVar38 & 1) != 0)" (( "(") (binary_expression "(uVar38 & 1) != 0" (parenthesized_expression "(uVar38 & 1)" (( "(") (binary_expression "uVar38 & 1" (identifier "uVar38") (& "&") (number_literal "1")) () ")")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);\n          uVar13 = uVar14;\n        }" ({ "{") (expression_statement "uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);" (assignment_expression "uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20)" (identifier "uVar39") (= "=") (binary_expression "uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20)" (binary_expression "uVar14 * local_180" (identifier "uVar14") (* "*") (identifier "local_180")) (+ "+") (cast_expression "(int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20" (binary_expression "(ulonglong)uVar14 * (uVar1 & 0xffffffff)" (cast_expression "(ulonglong)uVar14" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar14")) (* "*") (parenthesized_expression "(uVar1 & 0xffffffff)" (( "(") (binary_expression "uVar1 & 0xffffffff" (identifier "uVar1") (& "&") (number_literal "0xffffffff")) () ")"))) (>> ">>") (number_literal "0x20")) () ")"))))) (; ";")) (expression_statement "uVar13 = uVar14;" (assignment_expression "uVar13 = uVar14" (identifier "uVar13") (= "=") (identifier "uVar14")) (; ";")) (} "}"))) (if_statement "if (uVar39 != 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }" (if "if") (parenthesized_expression "(uVar39 != 0)" (( "(") (binary_expression "uVar39 != 0" (identifier "uVar39") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }\n          uVar6 = 0x161;\n          goto LAB_002a705c;\n        }" ({ "{") (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_1a0 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" (if "if") (parenthesized_expression "(local_1a0 != (byte *)0x0)" (( "(") (binary_expression "local_1a0 != (byte *)0x0" (identifier "local_1a0") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar6 = 0x161;" (assignment_expression "uVar6 = 0x161" (identifier "uVar6") (= "=") (number_literal "0x161")) (; ";")) (goto_statement "goto LAB_002a705c;" (goto "goto") (statement_identifier "LAB_002a705c") (; ";")) (} "}"))) (expression_statement "uVar39 = 4;" (assignment_expression "uVar39 = 4" (identifier "uVar39") (= "=") (number_literal "4")) (; ";")) (if_statement "if (3 < uVar13) {\n          uVar39 = uVar13;\n        }" (if "if") (parenthesized_expression "(3 < uVar13)" (( "(") (binary_expression "3 < uVar13" (number_literal "3") (< "<") (identifier "uVar13")) () ")")) (compound_statement "{\n          uVar39 = uVar13;\n        }" ({ "{") (expression_statement "uVar39 = uVar13;" (assignment_expression "uVar39 = uVar13" (identifier "uVar39") (= "=") (identifier "uVar13")) (; ";")) (} "}"))) (expression_statement "iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);" (assignment_expression "iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7])" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7])" (parenthesized_expression "(*(code *)PTR_AcquireVirtualMemory_003a92cc)" (( "(") (pointer_expression "*(code *)PTR_AcquireVirtualMemory_003a92cc" (* "*") (cast_expression "(code *)PTR_AcquireVirtualMemory_003a92cc" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireVirtualMemory_003a92cc"))) () ")")) (argument_list "(puVar4[6],uVar39 * puVar4[7])" (( "(") (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]")) (, ",") (binary_expression "uVar39 * puVar4[7]" (identifier "uVar39") (* "*") (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]"))) () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          uVar6 = 0x165;\n          goto LAB_002a705c;\n        }" ({ "{") (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "uVar6 = 0x165;" (assignment_expression "uVar6 = 0x165" (identifier "uVar6") (= "=") (number_literal "0x165")) (; ";")) (goto_statement "goto LAB_002a705c;" (goto "goto") (statement_identifier "LAB_002a705c") (; ";")) (} "}"))) (expression_statement "iVar25 = puVar4[7];" (assignment_expression "iVar25 = puVar4[7]" (identifier "iVar25") (= "=") (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]"))) (; ";")) (expression_statement "iVar11 = puVar4[6];" (assignment_expression "iVar11 = puVar4[6]" (identifier "iVar11") (= "=") (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);" (assignment_expression "pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5)" (identifier "pbVar15") (= "=") (cast_expression "(byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5)" (parenthesized_expression "(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)" (( "(") (pointer_expression "*(code *)PTR_GetVirtualMemoryBlob_003a8f28" (* "*") (cast_expression "(code *)PTR_GetVirtualMemoryBlob_003a8f28" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetVirtualMemoryBlob_003a8f28"))) () ")")) (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))))) (; ";")) (expression_statement "(*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);" (call_expression "(*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39)" (parenthesized_expression "(*(code *)PTR_memset_003a96d4)" (( "(") (pointer_expression "*(code *)PTR_memset_003a96d4" (* "*") (cast_expression "(code *)PTR_memset_003a96d4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_memset_003a96d4"))) () ")")) (argument_list "(pbVar15,0,iVar11 * iVar25 * uVar39)" (( "(") (identifier "pbVar15") (, ",") (number_literal "0") (, ",") (binary_expression "iVar11 * iVar25 * uVar39" (binary_expression "iVar11 * iVar25" (identifier "iVar11") (* "*") (identifier "iVar25")) (* "*") (identifier "uVar39")) () ")"))) (; ";")) (if_statement "if ((uVar7 & 3) == 1) {\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }" (if "if") (parenthesized_expression "((uVar7 & 3) == 1)" (( "(") (binary_expression "(uVar7 & 3) == 1" (parenthesized_expression "(uVar7 & 3)" (( "(") (binary_expression "uVar7 & 3" (identifier "uVar7") (& "&") (number_literal "3")) () ")")) (== "==") (number_literal "1")) () ")")) (compound_statement "{\n          uVar7 = 0;\n          if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }\n        }" ({ "{") (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (if_statement "if ((int)local_17c < 1) {\n            uVar8 = 0;\n          }\n          else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }" (if "if") (parenthesized_expression "((int)local_17c < 1)" (( "(") (binary_expression "(int)local_17c < 1" (cast_expression "(int)local_17c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_17c")) (< "<") (number_literal "1")) () ")")) (compound_statement "{\n            uVar8 = 0;\n          }" ({ "{") (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }" (else "else") (compound_statement "{\n            pbVar19 = pbVar15;\n            do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);\n          }" ({ "{") (expression_statement "pbVar19 = pbVar15;" (assignment_expression "pbVar19 = pbVar15" (identifier "pbVar19") (= "=") (identifier "pbVar15")) (; ";")) (do_statement "do {\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            } while (local_17c != uVar7);" (do "do") (compound_statement "{\n              pbVar31 = local_14c;\n              pbVar40 = pbVar19;\n              if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }\n              uVar7 = uVar7 + 1;\n              pbVar19 = pbVar31;\n              uVar8 = local_17c;\n            }" ({ "{") (expression_statement "pbVar31 = local_14c;" (assignment_expression "pbVar31 = local_14c" (identifier "pbVar31") (= "=") (identifier "local_14c")) (; ";")) (expression_statement "pbVar40 = pbVar19;" (assignment_expression "pbVar40 = pbVar19" (identifier "pbVar40") (= "=") (identifier "pbVar19")) (; ";")) (if_statement "if (puVar4[0xaf] == 0) {\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }\n              else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }" (if "if") (parenthesized_expression "(puVar4[0xaf] == 0)" (( "(") (binary_expression "puVar4[0xaf] == 0" (subscript_expression "puVar4[0xaf]" (identifier "puVar4") ([ "[") (number_literal "0xaf") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);\n                pbVar31 = pbVar19 + uVar38;\n              }" ({ "{") (do_statement "do {\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                } while (pbVar30 != local_14c + uVar38);" (do "do") (compound_statement "{\n                  pbVar30 = pbVar31 + 1;\n                  *pbVar40 = *pbVar31;\n                  pbVar31 = pbVar30;\n                  pbVar40 = pbVar40 + 1;\n                }" ({ "{") (expression_statement "pbVar30 = pbVar31 + 1;" (assignment_expression "pbVar30 = pbVar31 + 1" (identifier "pbVar30") (= "=") (binary_expression "pbVar31 + 1" (identifier "pbVar31") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pbVar40 = *pbVar31;" (assignment_expression "*pbVar40 = *pbVar31" (pointer_expression "*pbVar40" (* "*") (identifier "pbVar40")) (= "=") (pointer_expression "*pbVar31" (* "*") (identifier "pbVar31"))) (; ";")) (expression_statement "pbVar31 = pbVar30;" (assignment_expression "pbVar31 = pbVar30" (identifier "pbVar31") (= "=") (identifier "pbVar30")) (; ";")) (expression_statement "pbVar40 = pbVar40 + 1;" (assignment_expression "pbVar40 = pbVar40 + 1" (identifier "pbVar40") (= "=") (binary_expression "pbVar40 + 1" (identifier "pbVar40") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar30 != local_14c + uVar38)" (( "(") (binary_expression "pbVar30 != local_14c + uVar38" (identifier "pbVar30") (!= "!=") (binary_expression "local_14c + uVar38" (identifier "local_14c") (+ "+") (identifier "uVar38"))) () ")")) (; ";")) (expression_statement "pbVar31 = pbVar19 + uVar38;" (assignment_expression "pbVar31 = pbVar19 + uVar38" (identifier "pbVar31") (= "=") (binary_expression "pbVar19 + uVar38" (identifier "pbVar19") (+ "+") (identifier "uVar38"))) (; ";")) (} "}")) (else_clause "else {\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }" (else "else") (compound_statement "{\n                if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }\n                pbVar31 = pbVar19 + 1;\n                *pbVar19 = 0;\n              }" ({ "{") (if_statement "if (uVar38 - 1 != 0) {\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }" (if "if") (parenthesized_expression "(uVar38 - 1 != 0)" (( "(") (binary_expression "uVar38 - 1 != 0" (binary_expression "uVar38 - 1" (identifier "uVar38") (- "-") (number_literal "1")) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                  pbVar30 = pbVar19 + (uVar38 - 1);\n                  pbVar31 = pbVar19;\n                  pbVar40 = local_14c;\n                  do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);\n                }" ({ "{") (expression_statement "pbVar30 = pbVar19 + (uVar38 - 1);" (assignment_expression "pbVar30 = pbVar19 + (uVar38 - 1)" (identifier "pbVar30") (= "=") (binary_expression "pbVar19 + (uVar38 - 1)" (identifier "pbVar19") (+ "+") (parenthesized_expression "(uVar38 - 1)" (( "(") (binary_expression "uVar38 - 1" (identifier "uVar38") (- "-") (number_literal "1")) () ")")))) (; ";")) (expression_statement "pbVar31 = pbVar19;" (assignment_expression "pbVar31 = pbVar19" (identifier "pbVar31") (= "=") (identifier "pbVar19")) (; ";")) (expression_statement "pbVar40 = local_14c;" (assignment_expression "pbVar40 = local_14c" (identifier "pbVar40") (= "=") (identifier "local_14c")) (; ";")) (do_statement "do {\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  } while (pbVar30 != pbVar19);" (do "do") (compound_statement "{\n                    bVar23 = *pbVar40;\n                    pbVar19 = pbVar31 + 1;\n                    pbVar40 = pbVar40 + 1;\n                    *pbVar31 = bVar23;\n                    pbVar31 = pbVar19;\n                  }" ({ "{") (expression_statement "bVar23 = *pbVar40;" (assignment_expression "bVar23 = *pbVar40" (identifier "bVar23") (= "=") (pointer_expression "*pbVar40" (* "*") (identifier "pbVar40"))) (; ";")) (expression_statement "pbVar19 = pbVar31 + 1;" (assignment_expression "pbVar19 = pbVar31 + 1" (identifier "pbVar19") (= "=") (binary_expression "pbVar31 + 1" (identifier "pbVar31") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar40 = pbVar40 + 1;" (assignment_expression "pbVar40 = pbVar40 + 1" (identifier "pbVar40") (= "=") (binary_expression "pbVar40 + 1" (identifier "pbVar40") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pbVar31 = bVar23;" (assignment_expression "*pbVar31 = bVar23" (pointer_expression "*pbVar31" (* "*") (identifier "pbVar31")) (= "=") (identifier "bVar23")) (; ";")) (expression_statement "pbVar31 = pbVar19;" (assignment_expression "pbVar31 = pbVar19" (identifier "pbVar31") (= "=") (identifier "pbVar19")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar30 != pbVar19)" (( "(") (binary_expression "pbVar30 != pbVar19" (identifier "pbVar30") (!= "!=") (identifier "pbVar19")) () ")")) (; ";")) (} "}"))) (expression_statement "pbVar31 = pbVar19 + 1;" (assignment_expression "pbVar31 = pbVar19 + 1" (identifier "pbVar31") (= "=") (binary_expression "pbVar19 + 1" (identifier "pbVar19") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pbVar19 = 0;" (assignment_expression "*pbVar19 = 0" (pointer_expression "*pbVar19" (* "*") (identifier "pbVar19")) (= "=") (number_literal "0")) (; ";")) (} "}")))) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar19 = pbVar31;" (assignment_expression "pbVar19 = pbVar31" (identifier "pbVar19") (= "=") (identifier "pbVar31")) (; ";")) (expression_statement "uVar8 = local_17c;" (assignment_expression "uVar8 = local_17c" (identifier "uVar8") (= "=") (identifier "local_17c")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(local_17c != uVar7)" (( "(") (binary_expression "local_17c != uVar7" (identifier "local_17c") (!= "!=") (identifier "uVar7")) () ")")) (; ";")) (} "}")))) (} "}"))) (expression_statement "uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;" (assignment_expression "unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c" (identifier "unaff_s8") (= "=") (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c")) (; ";")) (if_statement "if (uVar7 == 0xffffffff) {\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }" (if "if") (parenthesized_expression "(uVar7 == 0xffffffff)" (( "(") (binary_expression "uVar7 == 0xffffffff" (identifier "uVar7") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n          if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }\n          if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }\n          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n          uVar6 = 0x18b;\nLAB_002a5df4:\n          param_1 = param_1 + 0x2210;\n          puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n          puVar17 = PTR_s_courses_003a88ec + -0x17c;\n          uVar18 = 0x1a9;\n          unaff_s8 = pbVar12;\n          goto LAB_002a5e2c;\n        }" ({ "{") (if_statement "if (uVar9 != 0) {\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" (if "if") (parenthesized_expression "(uVar9 != 0)" (( "(") (binary_expression "uVar9 != 0" (identifier "uVar9") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n          }" ({ "{") (expression_statement "local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);" (assignment_expression "local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (identifier "local_178") (= "=") (cast_expression "(byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (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 "(local_178)" (( "(") (identifier "local_178") () ")"))))) (; ";")) (} "}"))) (if_statement "if (local_178 != (byte *)0x0) {\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n          }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (expression_statement "uVar6 = 0x18b;" (assignment_expression "uVar6 = 0x18b" (identifier "uVar6") (= "=") (number_literal "0x18b")) (; ";")) (labeled_statement "LAB_002a5df4:\n          param_1 = param_1 + 0x2210;" (statement_identifier "LAB_002a5df4") (: ":") (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" (identifier "param_1") (= "=") (binary_expression "param_1 + 0x2210" (identifier "param_1") (+ "+") (number_literal "0x2210"))) (; ";"))) (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" (identifier "puVar16") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28"))) (; ";")) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" (identifier "puVar33") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x25c4"))) (; ";")) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "puVar29") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x2560"))) (; ";")) (expression_statement "puVar17 = PTR_s_courses_003a88ec + -0x17c;" (assignment_expression "puVar17 = PTR_s_courses_003a88ec + -0x17c" (identifier "puVar17") (= "=") (binary_expression "PTR_s_courses_003a88ec + -0x17c" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-0x17c"))) (; ";")) (expression_statement "uVar18 = 0x1a9;" (assignment_expression "uVar18 = 0x1a9" (identifier "uVar18") (= "=") (number_literal "0x1a9")) (; ";")) (expression_statement "unaff_s8 = pbVar12;" (assignment_expression "unaff_s8 = pbVar12" (identifier "unaff_s8") (= "=") (identifier "pbVar12")) (; ";")) (goto_statement "goto LAB_002a5e2c;" (goto "goto") (statement_identifier "LAB_002a5e2c") (; ";")) (} "}"))) (expression_statement "local_1a0 = (byte *)0x0;" (assignment_expression "local_1a0 = (byte *)0x0" (identifier "local_1a0") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uVar7 = uVar7 & 0x3f;" (assignment_expression "uVar7 = uVar7 & 0x3f" (identifier "uVar7") (= "=") (binary_expression "uVar7 & 0x3f" (identifier "uVar7") (& "&") (number_literal "0x3f"))) (; ";")) (do_statement "do {\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        } while (uVar7 != 7);" (do "do") (compound_statement "{\n          if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }\n          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);\n          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;\n          if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }\n          uVar7 = uVar7 & 0x3f;\n        }" ({ "{") (if_statement "if (uVar7 < 7) {\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }" (if "if") (parenthesized_expression "(uVar7 < 7)" (( "(") (binary_expression "uVar7 < 7" (identifier "uVar7") (< "<") (number_literal "7")) () ")")) (compound_statement "{\n                    \n                    \n            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();\n            return puVar4;\n          }" ({ "{") (expression_statement "puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();" (assignment_expression "puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))()" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))()" (parenthesized_expression "(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))" (( "(") (pointer_expression "*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590))" (* "*") (cast_expression "(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590))" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590))" (( "(") (binary_expression "&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)" (pointer_expression "&_gp_1" (& "&") (identifier "_gp_1")) (+ "+") (pointer_expression "*(int *)(unaff_s8 + uVar7 * 4 + 0x2590)" (* "*") (cast_expression "(int *)(unaff_s8 + uVar7 * 4 + 0x2590)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(unaff_s8 + uVar7 * 4 + 0x2590)" (( "(") (binary_expression "unaff_s8 + uVar7 * 4 + 0x2590" (binary_expression "unaff_s8 + uVar7 * 4" (identifier "unaff_s8") (+ "+") (binary_expression "uVar7 * 4" (identifier "uVar7") (* "*") (number_literal "4"))) (+ "+") (number_literal "0x2590")) () ")"))))) () ")")))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (return_statement "return puVar4;" (return "return") (identifier "puVar4") (; ";")) (} "}"))) (expression_statement "uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (assignment_expression "uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (identifier "uVar7") (= "=") (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;" (assignment_expression "puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c" (identifier "puVar17") (= "=") (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c")) (; ";")) (if_statement "if (uVar7 == 0xffffffff) {\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }" (if "if") (parenthesized_expression "(uVar7 == 0xffffffff)" (( "(") (binary_expression "uVar7 == 0xffffffff" (identifier "uVar7") (== "==") (number_literal "0xffffffff")) () ")")) (compound_statement "{\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x1fb;\n            pbVar12 = unaff_s8;\n            goto LAB_002a5df4;\n          }" ({ "{") (if_statement "if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (expression_statement "uVar6 = 0x1fb;" (assignment_expression "uVar6 = 0x1fb" (identifier "uVar6") (= "=") (number_literal "0x1fb")) (; ";")) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" (identifier "pbVar12") (= "=") (identifier "unaff_s8")) (; ";")) (goto_statement "goto LAB_002a5df4;" (goto "goto") (statement_identifier "LAB_002a5df4") (; ";")) (} "}"))) (expression_statement "uVar7 = uVar7 & 0x3f;" (assignment_expression "uVar7 = uVar7 & 0x3f" (identifier "uVar7") (= "=") (binary_expression "uVar7 & 0x3f" (identifier "uVar7") (& "&") (number_literal "0x3f"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar7 != 7)" (( "(") (binary_expression "uVar7 != 7" (identifier "uVar7") (!= "!=") (number_literal "7")) () ")")) (; ";")) (if_statement "if (uVar9 == 0) {\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }\n        else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n          if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }\n          if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }\n        }" ({ "{") (if_statement "if (uVar38 < 3) {\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }" (if "if") (parenthesized_expression "(uVar38 < 3)" (( "(") (binary_expression "uVar38 < 3" (identifier "uVar38") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);\n            if (iVar11 != 0) goto LAB_002a6328;\nLAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }\n            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n            uVar6 = 0x246;\nLAB_002a705c:\n            param_1 = param_1 + 0x2210;\n            puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n            puVar17 = PTR_LAB_003a88e0 + 0x16f8;\n            uVar18 = 400;\n            goto LAB_002a5e2c;\n          }" ({ "{") (expression_statement "iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);" (assignment_expression "iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2)" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2)" (parenthesized_expression "(*(code *)PTR_AcquireImageColormap_003a9194)" (( "(") (pointer_expression "*(code *)PTR_AcquireImageColormap_003a9194" (* "*") (cast_expression "(code *)PTR_AcquireImageColormap_003a9194" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireImageColormap_003a9194"))) () ")")) (argument_list "(puVar4,0x100,param_2)" (( "(") (identifier "puVar4") (, ",") (number_literal "0x100") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar11 != 0) goto LAB_002a6328;" (if "if") (parenthesized_expression "(iVar11 != 0)" (( "(") (binary_expression "iVar11 != 0" (identifier "iVar11") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_002a6328;" (goto "goto") (statement_identifier "LAB_002a6328") (; ";"))) (labeled_statement "LAB_002a725c:\n            if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" (statement_identifier "LAB_002a725c") (: ":") (if_statement "if (local_178 != (byte *)0x0) {\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n            }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (expression_statement "uVar6 = 0x246;" (assignment_expression "uVar6 = 0x246" (identifier "uVar6") (= "=") (number_literal "0x246")) (; ";")) (labeled_statement "LAB_002a705c:\n            param_1 = param_1 + 0x2210;" (statement_identifier "LAB_002a705c") (: ":") (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" (identifier "param_1") (= "=") (binary_expression "param_1 + 0x2210" (identifier "param_1") (+ "+") (number_literal "0x2210"))) (; ";"))) (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" (identifier "puVar16") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28"))) (; ";")) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" (identifier "puVar33") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x25c4"))) (; ";")) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "puVar29") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x2560"))) (; ";")) (expression_statement "puVar17 = PTR_LAB_003a88e0 + 0x16f8;" (assignment_expression "puVar17 = PTR_LAB_003a88e0 + 0x16f8" (identifier "puVar17") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x16f8" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x16f8"))) (; ";")) (expression_statement "uVar18 = 400;" (assignment_expression "uVar18 = 400" (identifier "uVar18") (= "=") (number_literal "400")) (; ";")) (goto_statement "goto LAB_002a5e2c;" (goto "goto") (statement_identifier "LAB_002a5e2c") (; ";")) (} "}"))) (if_statement "if (0 < (int)puVar4[7]) {\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }" (if "if") (parenthesized_expression "(0 < (int)puVar4[7])" (( "(") (binary_expression "0 < (int)puVar4[7]" (number_literal "0") (< "<") (cast_expression "(int)puVar4[7]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]")))) () ")")) (compound_statement "{\nLAB_002a5be0:\n            iVar11 = 0;\n            dVar45 = *(double *)(puVar16 + -0x5af0);\n            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n            uVar8 = 0;\n            do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);\n            goto LAB_002a5fb4;\n          }" ({ "{") (labeled_statement "LAB_002a5be0:\n            iVar11 = 0;" (statement_identifier "LAB_002a5be0") (: ":") (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";"))) (expression_statement "dVar45 = *(double *)(puVar16 + -0x5af0);" (assignment_expression "dVar45 = *(double *)(puVar16 + -0x5af0)" (identifier "dVar45") (= "=") (pointer_expression "*(double *)(puVar16 + -0x5af0)" (* "*") (cast_expression "(double *)(puVar16 + -0x5af0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar16 + -0x5af0)" (( "(") (binary_expression "puVar16 + -0x5af0" (identifier "puVar16") (+ "+") (number_literal "-0x5af0")) () ")"))))) (; ";")) (expression_statement "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;" (assignment_expression "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0" (identifier "puVar17") (= "=") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x2dd0"))) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            } while ((int)uVar7 < iVar25);" (do "do") (compound_statement "{\n              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);\n              if (iVar25 == 0) break;\n              iVar35 = puVar4[6];\n              iVar34 = 0;\n              if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }\n              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n              if (iVar25 == 0) break;\n              iVar25 = puVar4[7];\n              if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }\n              uVar7 = uVar8 + 1;\n              iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n              uVar8 = uVar7;\n            }" ({ "{") (expression_statement "iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2);" (assignment_expression "iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2)" (identifier "iVar25") (= "=") (call_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                 (puVar4,0,uVar8,puVar4[6],1,param_2)" (parenthesized_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)" (( "(") (pointer_expression "*(code *)PTR_QueueAuthenticPixels_003a8f24" (* "*") (cast_expression "(code *)PTR_QueueAuthenticPixels_003a8f24" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_QueueAuthenticPixels_003a8f24"))) () ")")) (argument_list "(puVar4,0,uVar8,puVar4[6],1,param_2)" (( "(") (identifier "puVar4") (, ",") (number_literal "0") (, ",") (identifier "uVar8") (, ",") (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]")) (, ",") (number_literal "1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar25 == 0) break;" (if "if") (parenthesized_expression "(iVar25 == 0)" (( "(") (binary_expression "iVar25 == 0" (identifier "iVar25") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar35 = puVar4[6];" (assignment_expression "iVar35 = puVar4[6]" (identifier "iVar35") (= "=") (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]"))) (; ";")) (expression_statement "iVar34 = 0;" (assignment_expression "iVar34 = 0" (identifier "iVar34") (= "=") (number_literal "0")) (; ";")) (if_statement "if (0 < iVar35) {\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }" (if "if") (parenthesized_expression "(0 < iVar35)" (( "(") (binary_expression "0 < iVar35" (number_literal "0") (< "<") (identifier "iVar35")) () ")")) (compound_statement "{\n                iVar36 = puVar4[0xb4];\n                iVar26 = puVar4[0xb0];\n                iVar37 = puVar4[0xaf];\n                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);\n                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);\n                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);\n                pbVar12 = pbVar15;\n                do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);\n              }" ({ "{") (expression_statement "iVar36 = puVar4[0xb4];" (assignment_expression "iVar36 = puVar4[0xb4]" (identifier "iVar36") (= "=") (subscript_expression "puVar4[0xb4]" (identifier "puVar4") ([ "[") (number_literal "0xb4") (] "]"))) (; ";")) (expression_statement "iVar26 = puVar4[0xb0];" (assignment_expression "iVar26 = puVar4[0xb0]" (identifier "iVar26") (= "=") (subscript_expression "puVar4[0xb0]" (identifier "puVar4") ([ "[") (number_literal "0xb0") (] "]"))) (; ";")) (expression_statement "iVar37 = puVar4[0xaf];" (assignment_expression "iVar37 = puVar4[0xaf]" (identifier "iVar37") (= "=") (subscript_expression "puVar4[0xaf]" (identifier "puVar4") ([ "[") (number_literal "0xaf") (] "]"))) (; ";")) (expression_statement "pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);" (assignment_expression "pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4)" (identifier "pfVar32") (= "=") (cast_expression "(float *)(iVar25 + *(int *)(iVar36 + 8) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar25 + *(int *)(iVar36 + 8) * 4)" (( "(") (binary_expression "iVar25 + *(int *)(iVar36 + 8) * 4" (identifier "iVar25") (+ "+") (binary_expression "*(int *)(iVar36 + 8) * 4" (pointer_expression "*(int *)(iVar36 + 8)" (* "*") (cast_expression "(int *)(iVar36 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar36 + 8)" (( "(") (binary_expression "iVar36 + 8" (identifier "iVar36") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);" (assignment_expression "pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4)" (identifier "pfVar28") (= "=") (cast_expression "(float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar25 + *(int *)(iVar36 + 0x14) * 4)" (( "(") (binary_expression "iVar25 + *(int *)(iVar36 + 0x14) * 4" (identifier "iVar25") (+ "+") (binary_expression "*(int *)(iVar36 + 0x14) * 4" (pointer_expression "*(int *)(iVar36 + 0x14)" (* "*") (cast_expression "(int *)(iVar36 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar36 + 0x14)" (( "(") (binary_expression "iVar36 + 0x14" (identifier "iVar36") (+ "+") (number_literal "0x14")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);" (assignment_expression "pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4)" (identifier "pfVar27") (= "=") (cast_expression "(float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar25 + *(int *)(iVar36 + 0x20) * 4)" (( "(") (binary_expression "iVar25 + *(int *)(iVar36 + 0x20) * 4" (identifier "iVar25") (+ "+") (binary_expression "*(int *)(iVar36 + 0x20) * 4" (pointer_expression "*(int *)(iVar36 + 0x20)" (* "*") (cast_expression "(int *)(iVar36 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar36 + 0x20)" (( "(") (binary_expression "iVar36 + 0x20" (identifier "iVar36") (+ "+") (number_literal "0x20")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (; ";")) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" (identifier "pbVar12") (= "=") (identifier "pbVar15")) (; ";")) (do_statement "do {\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                } while (iVar34 != iVar35);" (do "do") (compound_statement "{\n                  *pfVar32 = (float)((double)*pbVar12 * dVar45);\n                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);\n                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);\n                  if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }\n                  iVar34 = iVar34 + 1;\n                  iVar25 = iVar25 + iVar26 * 4;\n                  pfVar32 = pfVar32 + iVar26;\n                  pfVar28 = pfVar28 + iVar26;\n                  pfVar27 = pfVar27 + iVar26;\n                  pbVar12 = pbVar15;\n                }" ({ "{") (expression_statement "*pfVar32 = (float)((double)*pbVar12 * dVar45);" (assignment_expression "*pfVar32 = (float)((double)*pbVar12 * dVar45)" (pointer_expression "*pfVar32" (* "*") (identifier "pfVar32")) (= "=") (cast_expression "(float)((double)*pbVar12 * dVar45)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)*pbVar12 * dVar45)" (( "(") (binary_expression "(double)*pbVar12 * dVar45" (cast_expression "(double)*pbVar12" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12"))) (* "*") (identifier "dVar45")) () ")")))) (; ";")) (expression_statement "*pfVar28 = (float)((double)pbVar12[1] * dVar45);" (assignment_expression "*pfVar28 = (float)((double)pbVar12[1] * dVar45)" (pointer_expression "*pfVar28" (* "*") (identifier "pfVar28")) (= "=") (cast_expression "(float)((double)pbVar12[1] * dVar45)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)pbVar12[1] * dVar45)" (( "(") (binary_expression "(double)pbVar12[1] * dVar45" (cast_expression "(double)pbVar12[1]" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (subscript_expression "pbVar12[1]" (identifier "pbVar12") ([ "[") (number_literal "1") (] "]"))) (* "*") (identifier "dVar45")) () ")")))) (; ";")) (expression_statement "*pfVar27 = (float)((double)pbVar12[2] * dVar45);" (assignment_expression "*pfVar27 = (float)((double)pbVar12[2] * dVar45)" (pointer_expression "*pfVar27" (* "*") (identifier "pfVar27")) (= "=") (cast_expression "(float)((double)pbVar12[2] * dVar45)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)pbVar12[2] * dVar45)" (( "(") (binary_expression "(double)pbVar12[2] * dVar45" (cast_expression "(double)pbVar12[2]" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (subscript_expression "pbVar12[2]" (identifier "pbVar12") ([ "[") (number_literal "2") (] "]"))) (* "*") (identifier "dVar45")) () ")")))) (; ";")) (if_statement "if (iVar37 == 0) {\n                    pbVar15 = pbVar12 + 3;\n                  }\n                  else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }" (if "if") (parenthesized_expression "(iVar37 == 0)" (( "(") (binary_expression "iVar37 == 0" (identifier "iVar37") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    pbVar15 = pbVar12 + 3;\n                  }" ({ "{") (expression_statement "pbVar15 = pbVar12 + 3;" (assignment_expression "pbVar15 = pbVar12 + 3" (identifier "pbVar15") (= "=") (binary_expression "pbVar12 + 3" (identifier "pbVar12") (+ "+") (number_literal "3"))) (; ";")) (} "}")) (else_clause "else {\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }" (else "else") (compound_statement "{\n                    pbVar15 = pbVar12 + 4;\n                    if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }\n                  }" ({ "{") (expression_statement "pbVar15 = pbVar12 + 4;" (assignment_expression "pbVar15 = pbVar12 + 4" (identifier "pbVar15") (= "=") (binary_expression "pbVar12 + 4" (identifier "pbVar12") (+ "+") (number_literal "4"))) (; ";")) (if_statement "if (*(int *)(iVar36 + 0x34) != 0) {\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }" (if "if") (parenthesized_expression "(*(int *)(iVar36 + 0x34) != 0)" (( "(") (binary_expression "*(int *)(iVar36 + 0x34) != 0" (pointer_expression "*(int *)(iVar36 + 0x34)" (* "*") (cast_expression "(int *)(iVar36 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar36 + 0x34)" (( "(") (binary_expression "iVar36 + 0x34" (identifier "iVar36") (+ "+") (number_literal "0x34")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);\n                    }" ({ "{") (expression_statement "*(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45);" (assignment_expression "*(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =\n                           (float)((double)pbVar12[3] * dVar45)" (pointer_expression "*(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4)" (* "*") (cast_expression "(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar25 + *(int *)(iVar36 + 0x38) * 4)" (( "(") (binary_expression "iVar25 + *(int *)(iVar36 + 0x38) * 4" (identifier "iVar25") (+ "+") (binary_expression "*(int *)(iVar36 + 0x38) * 4" (pointer_expression "*(int *)(iVar36 + 0x38)" (* "*") (cast_expression "(int *)(iVar36 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar36 + 0x38)" (( "(") (binary_expression "iVar36 + 0x38" (identifier "iVar36") (+ "+") (number_literal "0x38")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)((double)pbVar12[3] * dVar45)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)pbVar12[3] * dVar45)" (( "(") (binary_expression "(double)pbVar12[3] * dVar45" (cast_expression "(double)pbVar12[3]" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (subscript_expression "pbVar12[3]" (identifier "pbVar12") ([ "[") (number_literal "3") (] "]"))) (* "*") (identifier "dVar45")) () ")")))) (; ";")) (} "}"))) (} "}")))) (expression_statement "iVar34 = iVar34 + 1;" (assignment_expression "iVar34 = iVar34 + 1" (identifier "iVar34") (= "=") (binary_expression "iVar34 + 1" (identifier "iVar34") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar25 = iVar25 + iVar26 * 4;" (assignment_expression "iVar25 = iVar25 + iVar26 * 4" (identifier "iVar25") (= "=") (binary_expression "iVar25 + iVar26 * 4" (identifier "iVar25") (+ "+") (binary_expression "iVar26 * 4" (identifier "iVar26") (* "*") (number_literal "4")))) (; ";")) (expression_statement "pfVar32 = pfVar32 + iVar26;" (assignment_expression "pfVar32 = pfVar32 + iVar26" (identifier "pfVar32") (= "=") (binary_expression "pfVar32 + iVar26" (identifier "pfVar32") (+ "+") (identifier "iVar26"))) (; ";")) (expression_statement "pfVar28 = pfVar28 + iVar26;" (assignment_expression "pfVar28 = pfVar28 + iVar26" (identifier "pfVar28") (= "=") (binary_expression "pfVar28 + iVar26" (identifier "pfVar28") (+ "+") (identifier "iVar26"))) (; ";")) (expression_statement "pfVar27 = pfVar27 + iVar26;" (assignment_expression "pfVar27 = pfVar27 + iVar26" (identifier "pfVar27") (= "=") (binary_expression "pfVar27 + iVar26" (identifier "pfVar27") (+ "+") (identifier "iVar26"))) (; ";")) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" (identifier "pbVar12") (= "=") (identifier "pbVar15")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar34 != iVar35)" (( "(") (binary_expression "iVar34 != iVar35" (identifier "iVar34") (!= "!=") (identifier "iVar35")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);" (assignment_expression "iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" (identifier "iVar25") (= "=") (call_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" (parenthesized_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)" (( "(") (pointer_expression "*(code *)PTR_SyncAuthenticPixels_003a91e4" (* "*") (cast_expression "(code *)PTR_SyncAuthenticPixels_003a91e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SyncAuthenticPixels_003a91e4"))) () ")")) (argument_list "(puVar4,param_2)" (( "(") (identifier "puVar4") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar25 == 0) break;" (if "if") (parenthesized_expression "(iVar25 == 0)" (( "(") (binary_expression "iVar25 == 0" (identifier "iVar25") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar25 = puVar4[7];" (assignment_expression "iVar25 = puVar4[7]" (identifier "iVar25") (= "=") (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]"))) (; ";")) (if_statement "if (puVar4[0xcd9] == 0) {\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }" (if "if") (parenthesized_expression "(puVar4[0xcd9] == 0)" (( "(") (binary_expression "puVar4[0xcd9] == 0" (subscript_expression "puVar4[0xcd9]" (identifier "puVar4") ([ "[") (number_literal "0xcd9") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                if (local_164 == 0) break;\n                iVar25 = puVar4[7];\n              }" ({ "{") (expression_statement "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);" (assignment_expression "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25)" (identifier "local_164") (= "=") (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25)" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" (( "(") (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" (* "*") (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SetImageProgress_003a8cb4"))) () ")")) (argument_list "(puVar4,puVar17,iVar11,uVar8,0,iVar25)" (( "(") (identifier "puVar4") (, ",") (identifier "puVar17") (, ",") (identifier "iVar11") (, ",") (identifier "uVar8") (, ",") (number_literal "0") (, ",") (identifier "iVar25") () ")")))) (; ";")) (if_statement "if (local_164 == 0) break;" (if "if") (parenthesized_expression "(local_164 == 0)" (( "(") (binary_expression "local_164 == 0" (identifier "local_164") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar25 = puVar4[7];" (assignment_expression "iVar25 = puVar4[7]" (identifier "iVar25") (= "=") (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]"))) (; ";")) (} "}"))) (expression_statement "uVar7 = uVar8 + 1;" (assignment_expression "uVar7 = uVar8 + 1" (identifier "uVar7") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar11 = (uint)(uVar7 < uVar8) + iVar11;" (assignment_expression "iVar11 = (uint)(uVar7 < uVar8) + iVar11" (identifier "iVar11") (= "=") (binary_expression "(uint)(uVar7 < uVar8) + iVar11" (call_expression "(uint)(uVar7 < uVar8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar7 < uVar8)" (( "(") (binary_expression "uVar7 < uVar8" (identifier "uVar7") (< "<") (identifier "uVar8")) () ")"))) (+ "+") (identifier "iVar11"))) (; ";")) (expression_statement "uVar8 = uVar7;" (assignment_expression "uVar8 = uVar7" (identifier "uVar8") (= "=") (identifier "uVar7")) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int)uVar7 < iVar25)" (( "(") (binary_expression "(int)uVar7 < iVar25" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (< "<") (identifier "iVar25")) () ")")) (; ";")) (goto_statement "goto LAB_002a5fb4;" (goto "goto") (statement_identifier "LAB_002a5fb4") (; ";")) (} "}"))) (} "}")) (else_clause "else {\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }" (else "else") (compound_statement "{\n          if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }\n          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);\n        }" ({ "{") (if_statement "if (uVar9 == 1) {\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }\n          else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }" (if "if") (parenthesized_expression "(uVar9 == 1)" (( "(") (binary_expression "uVar9 == 1" (identifier "uVar9") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n            if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }\n            if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }\nLAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);\n            if (iVar11 == 0) goto LAB_002a725c;\n            if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }\n            puVar17 = PTR_s_t_to_left_003a88e4;\n            if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }\nLAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;\n          }" ({ "{") (if_statement "if (0 < (int)local_17c) {\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }" (if "if") (parenthesized_expression "(0 < (int)local_17c)" (( "(") (binary_expression "0 < (int)local_17c" (number_literal "0") (< "<") (cast_expression "(int)local_17c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_17c"))) () ")")) (compound_statement "{\n              puVar21 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar29 = PTR_s_courses_003a88ec + 0x6f4;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              pbVar12 = pbVar15;\n              do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);\n            }" ({ "{") (expression_statement "puVar21 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar21 = PTR_LAB_003a88e0 + 0x3e28" (identifier "puVar21") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28"))) (; ";")) (expression_statement "puVar29 = PTR_s_courses_003a88ec + 0x6f4;" (assignment_expression "puVar29 = PTR_s_courses_003a88ec + 0x6f4" (identifier "puVar29") (= "=") (binary_expression "PTR_s_courses_003a88ec + 0x6f4" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "0x6f4"))) (; ";")) (expression_statement "puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;" (assignment_expression "puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990" (identifier "puVar33") (= "=") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x5990" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x5990"))) (; ";")) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" (identifier "pbVar12") (= "=") (identifier "pbVar15")) (; ";")) (do_statement "do {\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              } while (pbVar31 != pbVar15 + local_17c);" (do "do") (compound_statement "{\n                uVar8 = (uint)*pbVar12 & uVar24 - 1;\n                if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }\n                pbVar31 = pbVar12 + 1;\n                *pbVar12 = *pbVar19;\n                pbVar12 = pbVar31;\n                unaff_s8 = puVar17;\n                local_1a0 = pbVar15;\n              }" ({ "{") (expression_statement "uVar8 = (uint)*pbVar12 & uVar24 - 1;" (assignment_expression "uVar8 = (uint)*pbVar12 & uVar24 - 1" (identifier "uVar8") (= "=") (binary_expression "(uint)*pbVar12 & uVar24 - 1" (binary_expression "(uint)*pbVar12" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar12")) (& "&") (binary_expression "uVar24 - 1" (identifier "uVar24") (- "-") (number_literal "1")))) (; ";")) (if_statement "if ((int)uVar8 < (int)puVar4[9]) {\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }\n                else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }" (if "if") (parenthesized_expression "((int)uVar8 < (int)puVar4[9])" (( "(") (binary_expression "(int)uVar8 < (int)puVar4[9]" (cast_expression "(int)uVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar8")) (< "<") (cast_expression "(int)puVar4[9]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "puVar4[9]" (identifier "puVar4") ([ "[") (number_literal "9") (] "]")))) () ")")) (compound_statement "{\n                  pbVar19 = local_178 + (int)(float)uVar8;\n                }" ({ "{") (expression_statement "pbVar19 = local_178 + (int)(float)uVar8;" (assignment_expression "pbVar19 = local_178 + (int)(float)uVar8" (identifier "pbVar19") (= "=") (binary_expression "local_178 + (int)(float)uVar8" (identifier "local_178") (+ "+") (cast_expression "(int)(float)uVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(float)uVar8" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (identifier "uVar8"))))) (; ";")) (} "}")) (else_clause "else {\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }" (else "else") (compound_statement "{\n                  pbVar19 = local_178;\n                  if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }\n                }" ({ "{") (expression_statement "pbVar19 = local_178;" (assignment_expression "pbVar19 = local_178" (identifier "pbVar19") (= "=") (identifier "local_178")) (; ";")) (if_statement "if (*param_2 != 0x1a9) {\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }" (if "if") (parenthesized_expression "(*param_2 != 0x1a9)" (( "(") (binary_expression "*param_2 != 0x1a9" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (number_literal "0x1a9")) () ")")) (compound_statement "{\n                    (*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);\n                  }" ({ "{") (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" (( "(") (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" (* "*") (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ThrowMagickException_003a8f20"))) () ")")) (argument_list "(param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,\n                               puVar4 + 0xd0)" (( "(") (identifier "param_2") (, ",") (identifier "puVar29") (, ",") (binary_expression "puVar17 + 0x25ac" (identifier "puVar17") (+ "+") (number_literal "0x25ac")) (, ",") (number_literal "0x30") (, ",") (number_literal "0x1a9") (, ",") (identifier "puVar33") (, ",") (identifier "puVar21") (, ",") (binary_expression "puVar4 + 0xd0" (identifier "puVar4") (+ "+") (number_literal "0xd0")) () ")"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "pbVar31 = pbVar12 + 1;" (assignment_expression "pbVar31 = pbVar12 + 1" (identifier "pbVar31") (= "=") (binary_expression "pbVar12 + 1" (identifier "pbVar12") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pbVar12 = *pbVar19;" (assignment_expression "*pbVar12 = *pbVar19" (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")) (= "=") (pointer_expression "*pbVar19" (* "*") (identifier "pbVar19"))) (; ";")) (expression_statement "pbVar12 = pbVar31;" (assignment_expression "pbVar12 = pbVar31" (identifier "pbVar12") (= "=") (identifier "pbVar31")) (; ";")) (expression_statement "unaff_s8 = puVar17;" (assignment_expression "unaff_s8 = puVar17" (identifier "unaff_s8") (= "=") (identifier "puVar17")) (; ";")) (expression_statement "local_1a0 = pbVar15;" (assignment_expression "local_1a0 = pbVar15" (identifier "local_1a0") (= "=") (identifier "pbVar15")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar31 != pbVar15 + local_17c)" (( "(") (binary_expression "pbVar31 != pbVar15 + local_17c" (identifier "pbVar31") (!= "!=") (binary_expression "pbVar15 + local_17c" (identifier "pbVar15") (+ "+") (identifier "local_17c"))) () ")")) (; ";")) (} "}"))) (if_statement "if (2 < uVar38) {\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }" (if "if") (parenthesized_expression "(2 < uVar38)" (( "(") (binary_expression "2 < uVar38" (number_literal "2") (< "<") (identifier "uVar38")) () ")")) (compound_statement "{\n              iVar11 = puVar4[7];\n              goto LAB_002a5bd4;\n            }" ({ "{") (expression_statement "iVar11 = puVar4[7];" (assignment_expression "iVar11 = puVar4[7]" (identifier "iVar11") (= "=") (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]"))) (; ";")) (goto_statement "goto LAB_002a5bd4;" (goto "goto") (statement_identifier "LAB_002a5bd4") (; ";")) (} "}"))) (labeled_statement "LAB_002a6aa4:\n            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);" (statement_identifier "LAB_002a6aa4") (: ":") (expression_statement "iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);" (assignment_expression "iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2)" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2)" (parenthesized_expression "(*(code *)PTR_AcquireImageColormap_003a9194)" (( "(") (pointer_expression "*(code *)PTR_AcquireImageColormap_003a9194" (* "*") (cast_expression "(code *)PTR_AcquireImageColormap_003a9194" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireImageColormap_003a9194"))) () ")")) (argument_list "(puVar4,uVar24,param_2)" (( "(") (identifier "puVar4") (, ",") (identifier "uVar24") (, ",") (identifier "param_2") () ")")))) (; ";"))) (if_statement "if (iVar11 == 0) goto LAB_002a725c;" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_002a725c;" (goto "goto") (statement_identifier "LAB_002a725c") (; ";"))) (if_statement "if (uVar9 == 1) {\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }\n            else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }" (if "if") (parenthesized_expression "(uVar9 == 1)" (( "(") (binary_expression "uVar9 == 1" (identifier "uVar9") (== "==") (number_literal "1")) () ")")) (compound_statement "{\n              uVar8 = puVar4[9];\n              if ((int)uVar8 < 1) goto LAB_002a6328;\n              uVar7 = 0;\n              dVar45 = *(double *)(puVar16 + -0x5af0);\n              pdVar20 = (double *)(puVar4[10] + 0x28);\n              do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);\n              iVar11 = puVar4[0xaf];\n            }" ({ "{") (expression_statement "uVar8 = puVar4[9];" (assignment_expression "uVar8 = puVar4[9]" (identifier "uVar8") (= "=") (subscript_expression "puVar4[9]" (identifier "puVar4") ([ "[") (number_literal "9") (] "]"))) (; ";")) (if_statement "if ((int)uVar8 < 1) goto LAB_002a6328;" (if "if") (parenthesized_expression "((int)uVar8 < 1)" (( "(") (binary_expression "(int)uVar8 < 1" (cast_expression "(int)uVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar8")) (< "<") (number_literal "1")) () ")")) (goto_statement "goto LAB_002a6328;" (goto "goto") (statement_identifier "LAB_002a6328") (; ";"))) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "dVar45 = *(double *)(puVar16 + -0x5af0);" (assignment_expression "dVar45 = *(double *)(puVar16 + -0x5af0)" (identifier "dVar45") (= "=") (pointer_expression "*(double *)(puVar16 + -0x5af0)" (* "*") (cast_expression "(double *)(puVar16 + -0x5af0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar16 + -0x5af0)" (( "(") (binary_expression "puVar16 + -0x5af0" (identifier "puVar16") (+ "+") (number_literal "-0x5af0")) () ")"))))) (; ";")) (expression_statement "pdVar20 = (double *)(puVar4[10] + 0x28);" (assignment_expression "pdVar20 = (double *)(puVar4[10] + 0x28)" (identifier "pdVar20") (= "=") (cast_expression "(double *)(puVar4[10] + 0x28)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4[10] + 0x28)" (( "(") (binary_expression "puVar4[10] + 0x28" (subscript_expression "puVar4[10]" (identifier "puVar4") ([ "[") (number_literal "10") (] "]")) (+ "+") (number_literal "0x28")) () ")")))) (; ";")) (do_statement "do {\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              } while (uVar8 != uVar7);" (do "do") (compound_statement "{\n                uVar10 = uVar7 & 0xff;\n                uVar7 = uVar7 + 1;\n                dVar42 = (double)(float)((double)uVar10 * dVar45);\n                *pdVar20 = dVar42;\n                pdVar20[1] = dVar42;\n                pdVar20[2] = dVar42;\n                pdVar20 = pdVar20 + 0xb;\n              }" ({ "{") (expression_statement "uVar10 = uVar7 & 0xff;" (assignment_expression "uVar10 = uVar7 & 0xff" (identifier "uVar10") (= "=") (binary_expression "uVar7 & 0xff" (identifier "uVar7") (& "&") (number_literal "0xff"))) (; ";")) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "dVar42 = (double)(float)((double)uVar10 * dVar45);" (assignment_expression "dVar42 = (double)(float)((double)uVar10 * dVar45)" (identifier "dVar42") (= "=") (cast_expression "(double)(float)((double)uVar10 * dVar45)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(float)((double)uVar10 * dVar45)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)uVar10 * dVar45)" (( "(") (binary_expression "(double)uVar10 * dVar45" (cast_expression "(double)uVar10" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "uVar10")) (* "*") (identifier "dVar45")) () ")"))))) (; ";")) (expression_statement "*pdVar20 = dVar42;" (assignment_expression "*pdVar20 = dVar42" (pointer_expression "*pdVar20" (* "*") (identifier "pdVar20")) (= "=") (identifier "dVar42")) (; ";")) (expression_statement "pdVar20[1] = dVar42;" (assignment_expression "pdVar20[1] = dVar42" (subscript_expression "pdVar20[1]" (identifier "pdVar20") ([ "[") (number_literal "1") (] "]")) (= "=") (identifier "dVar42")) (; ";")) (expression_statement "pdVar20[2] = dVar42;" (assignment_expression "pdVar20[2] = dVar42" (subscript_expression "pdVar20[2]" (identifier "pdVar20") ([ "[") (number_literal "2") (] "]")) (= "=") (identifier "dVar42")) (; ";")) (expression_statement "pdVar20 = pdVar20 + 0xb;" (assignment_expression "pdVar20 = pdVar20 + 0xb" (identifier "pdVar20") (= "=") (binary_expression "pdVar20 + 0xb" (identifier "pdVar20") (+ "+") (number_literal "0xb"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar8 != uVar7)" (( "(") (binary_expression "uVar8 != uVar7" (identifier "uVar8") (!= "!=") (identifier "uVar7")) () ")")) (; ";")) (expression_statement "iVar11 = puVar4[0xaf];" (assignment_expression "iVar11 = puVar4[0xaf]" (identifier "iVar11") (= "=") (subscript_expression "puVar4[0xaf]" (identifier "puVar4") ([ "[") (number_literal "0xaf") (] "]"))) (; ";")) (} "}")) (else_clause "else {\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }" (else "else") (compound_statement "{\n              iVar11 = puVar4[9];\n              if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }\n            }" ({ "{") (expression_statement "iVar11 = puVar4[9];" (assignment_expression "iVar11 = puVar4[9]" (identifier "iVar11") (= "=") (subscript_expression "puVar4[9]" (identifier "puVar4") ([ "[") (number_literal "9") (] "]"))) (; ";")) (if_statement "if (iVar11 < 1) {\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }\n              else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }" (if "if") (parenthesized_expression "(iVar11 < 1)" (( "(") (binary_expression "iVar11 < 1" (identifier "iVar11") (< "<") (number_literal "1")) () ")")) (compound_statement "{\nLAB_002a6328:\n                iVar11 = puVar4[0xaf];\n              }" ({ "{") (labeled_statement "LAB_002a6328:\n                iVar11 = puVar4[0xaf];" (statement_identifier "LAB_002a6328") (: ":") (expression_statement "iVar11 = puVar4[0xaf];" (assignment_expression "iVar11 = puVar4[0xaf]" (identifier "iVar11") (= "=") (subscript_expression "puVar4[0xaf]" (identifier "puVar4") ([ "[") (number_literal "0xaf") (] "]"))) (; ";"))) (} "}")) (else_clause "else {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }" (else "else") (compound_statement "{\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                pdVar20 = (double *)(puVar4[10] + 0x28);\n                pbVar12 = local_178 + uVar24;\n                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));\n                pbVar31 = local_178;\n                do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);\n                iVar11 = puVar4[0xaf];\n              }" ({ "{") (expression_statement "dVar45 = *(double *)(puVar16 + -0x5af0);" (assignment_expression "dVar45 = *(double *)(puVar16 + -0x5af0)" (identifier "dVar45") (= "=") (pointer_expression "*(double *)(puVar16 + -0x5af0)" (* "*") (cast_expression "(double *)(puVar16 + -0x5af0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar16 + -0x5af0)" (( "(") (binary_expression "puVar16 + -0x5af0" (identifier "puVar16") (+ "+") (number_literal "-0x5af0")) () ")"))))) (; ";")) (expression_statement "pdVar20 = (double *)(puVar4[10] + 0x28);" (assignment_expression "pdVar20 = (double *)(puVar4[10] + 0x28)" (identifier "pdVar20") (= "=") (cast_expression "(double *)(puVar4[10] + 0x28)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar4[10] + 0x28)" (( "(") (binary_expression "puVar4[10] + 0x28" (subscript_expression "puVar4[10]" (identifier "puVar4") ([ "[") (number_literal "10") (] "]")) (+ "+") (number_literal "0x28")) () ")")))) (; ";")) (expression_statement "pbVar12 = local_178 + uVar24;" (assignment_expression "pbVar12 = local_178 + uVar24" (identifier "pbVar12") (= "=") (binary_expression "local_178 + uVar24" (identifier "local_178") (+ "+") (identifier "uVar24"))) (; ";")) (expression_statement "pbVar19 = local_178 + (2 << (uVar10 & 0x1f));" (assignment_expression "pbVar19 = local_178 + (2 << (uVar10 & 0x1f))" (identifier "pbVar19") (= "=") (binary_expression "local_178 + (2 << (uVar10 & 0x1f))" (identifier "local_178") (+ "+") (parenthesized_expression "(2 << (uVar10 & 0x1f))" (( "(") (binary_expression "2 << (uVar10 & 0x1f)" (number_literal "2") (<< "<<") (parenthesized_expression "(uVar10 & 0x1f)" (( "(") (binary_expression "uVar10 & 0x1f" (identifier "uVar10") (& "&") (number_literal "0x1f")) () ")"))) () ")")))) (; ";")) (expression_statement "pbVar31 = local_178;" (assignment_expression "pbVar31 = local_178" (identifier "pbVar31") (= "=") (identifier "local_178")) (; ";")) (do_statement "do {\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                } while (pbVar40 != local_178 + iVar11 + uVar24);" (do "do") (compound_statement "{\n                  bVar23 = *pbVar31;\n                  pbVar40 = pbVar12 + 1;\n                  pbVar31 = pbVar31 + 1;\n                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);\n                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);\n                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);\n                  pdVar20 = pdVar20 + 0xb;\n                  pbVar12 = pbVar40;\n                  pbVar19 = pbVar19 + 1;\n                }" ({ "{") (expression_statement "bVar23 = *pbVar31;" (assignment_expression "bVar23 = *pbVar31" (identifier "bVar23") (= "=") (pointer_expression "*pbVar31" (* "*") (identifier "pbVar31"))) (; ";")) (expression_statement "pbVar40 = pbVar12 + 1;" (assignment_expression "pbVar40 = pbVar12 + 1" (identifier "pbVar40") (= "=") (binary_expression "pbVar12 + 1" (identifier "pbVar12") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "pbVar31 = pbVar31 + 1;" (assignment_expression "pbVar31 = pbVar31 + 1" (identifier "pbVar31") (= "=") (binary_expression "pbVar31 + 1" (identifier "pbVar31") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pdVar20 = (double)(float)((double)bVar23 * dVar45);" (assignment_expression "*pdVar20 = (double)(float)((double)bVar23 * dVar45)" (pointer_expression "*pdVar20" (* "*") (identifier "pdVar20")) (= "=") (cast_expression "(double)(float)((double)bVar23 * dVar45)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(float)((double)bVar23 * dVar45)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)bVar23 * dVar45)" (( "(") (binary_expression "(double)bVar23 * dVar45" (cast_expression "(double)bVar23" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (identifier "bVar23")) (* "*") (identifier "dVar45")) () ")"))))) (; ";")) (expression_statement "pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);" (assignment_expression "pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45)" (subscript_expression "pdVar20[1]" (identifier "pdVar20") ([ "[") (number_literal "1") (] "]")) (= "=") (cast_expression "(double)(float)((double)*pbVar12 * dVar45)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(float)((double)*pbVar12 * dVar45)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)*pbVar12 * dVar45)" (( "(") (binary_expression "(double)*pbVar12 * dVar45" (cast_expression "(double)*pbVar12" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12"))) (* "*") (identifier "dVar45")) () ")"))))) (; ";")) (expression_statement "pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);" (assignment_expression "pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45)" (subscript_expression "pdVar20[2]" (identifier "pdVar20") ([ "[") (number_literal "2") (] "]")) (= "=") (cast_expression "(double)(float)((double)*pbVar19 * dVar45)" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (cast_expression "(float)((double)*pbVar19 * dVar45)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)*pbVar19 * dVar45)" (( "(") (binary_expression "(double)*pbVar19 * dVar45" (cast_expression "(double)*pbVar19" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (pointer_expression "*pbVar19" (* "*") (identifier "pbVar19"))) (* "*") (identifier "dVar45")) () ")"))))) (; ";")) (expression_statement "pdVar20 = pdVar20 + 0xb;" (assignment_expression "pdVar20 = pdVar20 + 0xb" (identifier "pdVar20") (= "=") (binary_expression "pdVar20 + 0xb" (identifier "pdVar20") (+ "+") (number_literal "0xb"))) (; ";")) (expression_statement "pbVar12 = pbVar40;" (assignment_expression "pbVar12 = pbVar40" (identifier "pbVar12") (= "=") (identifier "pbVar40")) (; ";")) (expression_statement "pbVar19 = pbVar19 + 1;" (assignment_expression "pbVar19 = pbVar19 + 1" (identifier "pbVar19") (= "=") (binary_expression "pbVar19 + 1" (identifier "pbVar19") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar40 != local_178 + iVar11 + uVar24)" (( "(") (binary_expression "pbVar40 != local_178 + iVar11 + uVar24" (identifier "pbVar40") (!= "!=") (binary_expression "local_178 + iVar11 + uVar24" (binary_expression "local_178 + iVar11" (identifier "local_178") (+ "+") (identifier "iVar11")) (+ "+") (identifier "uVar24"))) () ")")) (; ";")) (expression_statement "iVar11 = puVar4[0xaf];" (assignment_expression "iVar11 = puVar4[0xaf]" (identifier "iVar11") (= "=") (subscript_expression "puVar4[0xaf]" (identifier "puVar4") ([ "[") (number_literal "0xaf") (] "]"))) (; ";")) (} "}")))) (} "}")))) (expression_statement "puVar17 = PTR_s_t_to_left_003a88e4;" (assignment_expression "puVar17 = PTR_s_t_to_left_003a88e4" (identifier "puVar17") (= "=") (identifier "PTR_s_t_to_left_003a88e4")) (; ";")) (if_statement "if (iVar11 == 0) {\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }\n            else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (compound_statement "{\n              if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }\n              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);\n            }" ({ "{") (if_statement "if (0 < (int)puVar4[7]) {\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }" (if "if") (parenthesized_expression "(0 < (int)puVar4[7])" (( "(") (binary_expression "0 < (int)puVar4[7]" (number_literal "0") (< "<") (cast_expression "(int)puVar4[7]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]")))) () ")")) (compound_statement "{\n                iVar11 = 0;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;\n                uVar8 = 0;\n                do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);\n              }" ({ "{") (expression_statement "iVar11 = 0;" (assignment_expression "iVar11 = 0" (identifier "iVar11") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;" (assignment_expression "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0" (identifier "puVar17") (= "=") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x2dd0"))) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (do_statement "do {\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar25);" (do "do") (compound_statement "{\n                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  if (iVar25 == 0) break;\n                  pbVar12 = pbVar15 + puVar4[6];\n                  if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }\n                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar25 == 0) break;\n                  iVar25 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;\n                  uVar8 = uVar7;\n                }" ({ "{") (expression_statement "iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);" (assignment_expression "iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2)" (identifier "iVar25") (= "=") (call_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2)" (parenthesized_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)" (( "(") (pointer_expression "*(code *)PTR_QueueAuthenticPixels_003a8f24" (* "*") (cast_expression "(code *)PTR_QueueAuthenticPixels_003a8f24" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_QueueAuthenticPixels_003a8f24"))) () ")")) (argument_list "(puVar4,0,uVar8,puVar4[6],1,param_2)" (( "(") (identifier "puVar4") (, ",") (number_literal "0") (, ",") (identifier "uVar8") (, ",") (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]")) (, ",") (number_literal "1") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar25 == 0) break;" (if "if") (parenthesized_expression "(iVar25 == 0)" (( "(") (binary_expression "iVar25 == 0" (identifier "iVar25") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "pbVar12 = pbVar15 + puVar4[6];" (assignment_expression "pbVar12 = pbVar15 + puVar4[6]" (identifier "pbVar12") (= "=") (binary_expression "pbVar15 + puVar4[6]" (identifier "pbVar15") (+ "+") (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]")))) (; ";")) (if_statement "if (0 < (int)puVar4[6]) {\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }" (if "if") (parenthesized_expression "(0 < (int)puVar4[6])" (( "(") (binary_expression "0 < (int)puVar4[6]" (number_literal "0") (< "<") (cast_expression "(int)puVar4[6]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]")))) () ")")) (compound_statement "{\n                    iVar26 = puVar4[0xb4];\n                    iVar34 = puVar4[0xb0];\n                    iVar35 = *(int *)(iVar26 + 0x40);\n                    pbVar19 = pbVar15;\n                    do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);\n                  }" ({ "{") (expression_statement "iVar26 = puVar4[0xb4];" (assignment_expression "iVar26 = puVar4[0xb4]" (identifier "iVar26") (= "=") (subscript_expression "puVar4[0xb4]" (identifier "puVar4") ([ "[") (number_literal "0xb4") (] "]"))) (; ";")) (expression_statement "iVar34 = puVar4[0xb0];" (assignment_expression "iVar34 = puVar4[0xb0]" (identifier "iVar34") (= "=") (subscript_expression "puVar4[0xb0]" (identifier "puVar4") ([ "[") (number_literal "0xb0") (] "]"))) (; ";")) (expression_statement "iVar35 = *(int *)(iVar26 + 0x40);" (assignment_expression "iVar35 = *(int *)(iVar26 + 0x40)" (identifier "iVar35") (= "=") (pointer_expression "*(int *)(iVar26 + 0x40)" (* "*") (cast_expression "(int *)(iVar26 + 0x40)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar26 + 0x40)" (( "(") (binary_expression "iVar26 + 0x40" (identifier "iVar26") (+ "+") (number_literal "0x40")) () ")"))))) (; ";")) (expression_statement "pbVar19 = pbVar15;" (assignment_expression "pbVar19 = pbVar15" (identifier "pbVar19") (= "=") (identifier "pbVar15")) (; ";")) (do_statement "do {\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    } while (pbVar12 != pbVar15);" (do "do") (compound_statement "{\n                      pbVar15 = pbVar19 + 1;\n                      if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }\n                      iVar25 = iVar25 + iVar34 * 4;\n                      pbVar19 = pbVar15;\n                    }" ({ "{") (expression_statement "pbVar15 = pbVar19 + 1;" (assignment_expression "pbVar15 = pbVar19 + 1" (identifier "pbVar15") (= "=") (binary_expression "pbVar19 + 1" (identifier "pbVar19") (+ "+") (number_literal "1"))) (; ";")) (if_statement "if (iVar35 != 0) {\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }" (if "if") (parenthesized_expression "(iVar35 != 0)" (( "(") (binary_expression "iVar35 != 0" (identifier "iVar35") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;\n                      }" ({ "{") (expression_statement "*(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;" (assignment_expression "*(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19" (pointer_expression "*(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4)" (* "*") (cast_expression "(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar25 + *(int *)(iVar26 + 0x44) * 4)" (( "(") (binary_expression "iVar25 + *(int *)(iVar26 + 0x44) * 4" (identifier "iVar25") (+ "+") (binary_expression "*(int *)(iVar26 + 0x44) * 4" (pointer_expression "*(int *)(iVar26 + 0x44)" (* "*") (cast_expression "(int *)(iVar26 + 0x44)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar26 + 0x44)" (( "(") (binary_expression "iVar26 + 0x44" (identifier "iVar26") (+ "+") (number_literal "0x44")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)*pbVar19" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (pointer_expression "*pbVar19" (* "*") (identifier "pbVar19")))) (; ";")) (} "}"))) (expression_statement "iVar25 = iVar25 + iVar34 * 4;" (assignment_expression "iVar25 = iVar25 + iVar34 * 4" (identifier "iVar25") (= "=") (binary_expression "iVar25 + iVar34 * 4" (identifier "iVar25") (+ "+") (binary_expression "iVar34 * 4" (identifier "iVar34") (* "*") (number_literal "4")))) (; ";")) (expression_statement "pbVar19 = pbVar15;" (assignment_expression "pbVar19 = pbVar15" (identifier "pbVar19") (= "=") (identifier "pbVar15")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(pbVar12 != pbVar15)" (( "(") (binary_expression "pbVar12 != pbVar15" (identifier "pbVar12") (!= "!=") (identifier "pbVar15")) () ")")) (; ";")) (} "}"))) (expression_statement "iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);" (assignment_expression "iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" (identifier "iVar25") (= "=") (call_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" (parenthesized_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)" (( "(") (pointer_expression "*(code *)PTR_SyncAuthenticPixels_003a91e4" (* "*") (cast_expression "(code *)PTR_SyncAuthenticPixels_003a91e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SyncAuthenticPixels_003a91e4"))) () ")")) (argument_list "(puVar4,param_2)" (( "(") (identifier "puVar4") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar25 == 0) break;" (if "if") (parenthesized_expression "(iVar25 == 0)" (( "(") (binary_expression "iVar25 == 0" (identifier "iVar25") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar25 = puVar4[7];" (assignment_expression "iVar25 = puVar4[7]" (identifier "iVar25") (= "=") (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]"))) (; ";")) (if_statement "if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }" (if "if") (parenthesized_expression "(puVar4[0xcd9] == 0)" (( "(") (binary_expression "puVar4[0xcd9] == 0" (subscript_expression "puVar4[0xcd9]" (identifier "puVar4") ([ "[") (number_literal "0xcd9") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);\n                    if (local_164 == 0) break;\n                    iVar25 = puVar4[7];\n                  }" ({ "{") (expression_statement "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);" (assignment_expression "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25)" (identifier "local_164") (= "=") (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25)" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" (( "(") (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" (* "*") (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SetImageProgress_003a8cb4"))) () ")")) (argument_list "(puVar4,puVar17,iVar11,uVar8,0,iVar25)" (( "(") (identifier "puVar4") (, ",") (identifier "puVar17") (, ",") (identifier "iVar11") (, ",") (identifier "uVar8") (, ",") (number_literal "0") (, ",") (identifier "iVar25") () ")")))) (; ";")) (if_statement "if (local_164 == 0) break;" (if "if") (parenthesized_expression "(local_164 == 0)" (( "(") (binary_expression "local_164 == 0" (identifier "local_164") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar25 = puVar4[7];" (assignment_expression "iVar25 = puVar4[7]" (identifier "iVar25") (= "=") (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]"))) (; ";")) (} "}"))) (expression_statement "uVar7 = uVar8 + 1;" (assignment_expression "uVar7 = uVar8 + 1" (identifier "uVar7") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar11 = (uint)(uVar7 < uVar8) + iVar11;" (assignment_expression "iVar11 = (uint)(uVar7 < uVar8) + iVar11" (identifier "iVar11") (= "=") (binary_expression "(uint)(uVar7 < uVar8) + iVar11" (call_expression "(uint)(uVar7 < uVar8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar7 < uVar8)" (( "(") (binary_expression "uVar7 < uVar8" (identifier "uVar7") (< "<") (identifier "uVar8")) () ")"))) (+ "+") (identifier "iVar11"))) (; ";")) (expression_statement "uVar8 = uVar7;" (assignment_expression "uVar8 = uVar7" (identifier "uVar8") (= "=") (identifier "uVar7")) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int)uVar7 < iVar25)" (( "(") (binary_expression "(int)uVar7 < iVar25" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (< "<") (identifier "iVar25")) () ")")) (; ";")) (} "}"))) (expression_statement "(*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);" (call_expression "(*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2)" (parenthesized_expression "(*(code *)PTR_SyncImage_003a8d84)" (( "(") (pointer_expression "*(code *)PTR_SyncImage_003a8d84" (* "*") (cast_expression "(code *)PTR_SyncImage_003a8d84" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SyncImage_003a8d84"))) () ")")) (argument_list "(puVar4,param_2)" (( "(") (identifier "puVar4") (, ",") (identifier "param_2") () ")"))) (; ";")) (} "}")) (else_clause "else {\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }" (else "else") (compound_statement "{\n              if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }\n              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);\n              puVar4[10] = uVar6;\n              puVar4[9] = 0;\n              *puVar4 = 1;\n            }" ({ "{") (if_statement "if (0 < (int)puVar4[7]) {\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }" (if "if") (parenthesized_expression "(0 < (int)puVar4[7])" (( "(") (binary_expression "0 < (int)puVar4[7]" (number_literal "0") (< "<") (cast_expression "(int)puVar4[7]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]")))) () ")")) (compound_statement "{\n                dVar45 = *(double *)(puVar16 + -0x5af0);\n                puVar33 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;\n                local_1a0 = (byte *)0x0;\n                uVar8 = 0;\n                unaff_s8 = pbVar15;\n                do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);\n              }" ({ "{") (expression_statement "dVar45 = *(double *)(puVar16 + -0x5af0);" (assignment_expression "dVar45 = *(double *)(puVar16 + -0x5af0)" (identifier "dVar45") (= "=") (pointer_expression "*(double *)(puVar16 + -0x5af0)" (* "*") (cast_expression "(double *)(puVar16 + -0x5af0)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(puVar16 + -0x5af0)" (( "(") (binary_expression "puVar16 + -0x5af0" (identifier "puVar16") (+ "+") (number_literal "-0x5af0")) () ")"))))) (; ";")) (expression_statement "puVar33 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar33 = PTR_LAB_003a88e0 + 0x3e28" (identifier "puVar33") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28"))) (; ";")) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac" (identifier "puVar29") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x25ac"))) (; ";")) (expression_statement "local_1a0 = (byte *)0x0;" (assignment_expression "local_1a0 = (byte *)0x0" (identifier "local_1a0") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "uVar8 = 0;" (assignment_expression "uVar8 = 0" (identifier "uVar8") (= "=") (number_literal "0")) (; ";")) (expression_statement "unaff_s8 = pbVar15;" (assignment_expression "unaff_s8 = pbVar15" (identifier "unaff_s8") (= "=") (identifier "pbVar15")) (; ";")) (do_statement "do {\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                } while ((int)uVar7 < iVar11);" (do "do") (compound_statement "{\n                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);\n                  puVar21 = PTR_s_courses_003a88ec;\n                  if (iVar11 == 0) break;\n                  if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }\n                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);\n                  if (iVar11 == 0) break;\n                  iVar11 = puVar4[7];\n                  if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }\n                  uVar7 = uVar8 + 1;\n                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);\n                  uVar8 = uVar7;\n                }" ({ "{") (expression_statement "iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2);" (assignment_expression "iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2)" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)\n                                     (puVar4,0,uVar8,puVar4[6],1,param_2)" (parenthesized_expression "(*(code *)PTR_QueueAuthenticPixels_003a8f24)" (( "(") (pointer_expression "*(code *)PTR_QueueAuthenticPixels_003a8f24" (* "*") (cast_expression "(code *)PTR_QueueAuthenticPixels_003a8f24" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_QueueAuthenticPixels_003a8f24"))) () ")")) (argument_list "(puVar4,0,uVar8,puVar4[6],1,param_2)" (( "(") (identifier "puVar4") (, ",") (number_literal "0") (, ",") (identifier "uVar8") (, ",") (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]")) (, ",") (number_literal "1") (, ",") (identifier "param_2") () ")")))) (; ";")) (expression_statement "puVar21 = PTR_s_courses_003a88ec;" (assignment_expression "puVar21 = PTR_s_courses_003a88ec" (identifier "puVar21") (= "=") (identifier "PTR_s_courses_003a88ec")) (; ";")) (if_statement "if (iVar11 == 0) break;" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (if_statement "if (0 < (int)puVar4[6]) {\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }" (if "if") (parenthesized_expression "(0 < (int)puVar4[6])" (( "(") (binary_expression "0 < (int)puVar4[6]" (number_literal "0") (< "<") (cast_expression "(int)puVar4[6]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]")))) () ")")) (compound_statement "{\n                    iVar25 = 0;\n                    pbVar12 = unaff_s8;\n                    do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);\n                  }" ({ "{") (expression_statement "iVar25 = 0;" (assignment_expression "iVar25 = 0" (identifier "iVar25") (= "=") (number_literal "0")) (; ";")) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" (identifier "pbVar12") (= "=") (identifier "unaff_s8")) (; ";")) (do_statement "do {\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    } while (iVar25 < (int)puVar4[6]);" (do "do") (compound_statement "{\n                      iVar34 = puVar4[9];\n                      if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }\n                      iVar26 = puVar4[10];\n                      iVar36 = puVar4[0xb4];\n                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);\n                      if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);\n                      if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }\n                      iVar35 = *(int *)(iVar36 + 0x34);\n                      unaff_s8 = pbVar12 + 4;\n                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);\n                      if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }\n                      iVar25 = iVar25 + 1;\n                      iVar11 = iVar11 + puVar4[0xb0] * 4;\n                      pbVar12 = unaff_s8;\n                    }" ({ "{") (expression_statement "iVar34 = puVar4[9];" (assignment_expression "iVar34 = puVar4[9]" (identifier "iVar34") (= "=") (subscript_expression "puVar4[9]" (identifier "puVar4") ([ "[") (number_literal "9") (] "]"))) (; ";")) (if_statement "if ((int)(uint)*pbVar12 < iVar34) {\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }" (if "if") (parenthesized_expression "((int)(uint)*pbVar12 < iVar34)" (( "(") (binary_expression "(int)(uint)*pbVar12 < iVar34" (binary_expression "(int)(uint)*pbVar12" (cast_expression "(int)(uint)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")"))) (* "*") (identifier "pbVar12")) (< "<") (identifier "iVar34")) () ")")) (compound_statement "{\n                        iVar35 = (int)(float)*pbVar12 * 0x58;\n                      }" ({ "{") (expression_statement "iVar35 = (int)(float)*pbVar12 * 0x58;" (assignment_expression "iVar35 = (int)(float)*pbVar12 * 0x58" (identifier "iVar35") (= "=") (binary_expression "(int)(float)*pbVar12 * 0x58" (cast_expression "(int)(float)*pbVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(float)*pbVar12" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (pointer_expression "*pbVar12" (* "*") (identifier "pbVar12")))) (* "*") (number_literal "0x58"))) (; ";")) (} "}")) (else_clause "else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }" (else "else") (if_statement "if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }" (if "if") (parenthesized_expression "(*param_2 == 0x1a9)" (( "(") (binary_expression "*param_2 == 0x1a9" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (number_literal "0x1a9")) () ")")) (compound_statement "{\n                        iVar35 = 0;\n                      }" ({ "{") (expression_statement "iVar35 = 0;" (assignment_expression "iVar35 = 0" (identifier "iVar35") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }" (else "else") (compound_statement "{\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar34 = puVar4[9];\n                      }" ({ "{") (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" (( "(") (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" (* "*") (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ThrowMagickException_003a8f20"))) () ")")) (argument_list "(param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" (( "(") (identifier "param_2") (, ",") (binary_expression "puVar21 + 0x6f4" (identifier "puVar21") (+ "+") (number_literal "0x6f4")) (, ",") (identifier "puVar29") (, ",") (number_literal "0x30") (, ",") (number_literal "0x1a9") (, ",") (binary_expression "puVar17 + -0x5990" (identifier "puVar17") (+ "+") (number_literal "-0x5990")) (, ",") (identifier "puVar33") (, ",") (binary_expression "puVar4 + 0xd0" (identifier "puVar4") (+ "+") (number_literal "0xd0")) () ")"))) (; ";")) (expression_statement "iVar35 = 0;" (assignment_expression "iVar35 = 0" (identifier "iVar35") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar34 = puVar4[9];" (assignment_expression "iVar34 = puVar4[9]" (identifier "iVar34") (= "=") (subscript_expression "puVar4[9]" (identifier "puVar4") ([ "[") (number_literal "9") (] "]"))) (; ";")) (} "}")))))) (expression_statement "iVar26 = puVar4[10];" (assignment_expression "iVar26 = puVar4[10]" (identifier "iVar26") (= "=") (subscript_expression "puVar4[10]" (identifier "puVar4") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "iVar36 = puVar4[0xb4];" (assignment_expression "iVar36 = puVar4[0xb4]" (identifier "iVar36") (= "=") (subscript_expression "puVar4[0xb4]" (identifier "puVar4") ([ "[") (number_literal "0xb4") (] "]"))) (; ";")) (expression_statement "*(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28);" (assignment_expression "*(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x28)" (pointer_expression "*(float *)(iVar11 + *(int *)(iVar36 + 8) * 4)" (* "*") (cast_expression "(float *)(iVar11 + *(int *)(iVar36 + 8) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + *(int *)(iVar36 + 8) * 4)" (( "(") (binary_expression "iVar11 + *(int *)(iVar36 + 8) * 4" (identifier "iVar11") (+ "+") (binary_expression "*(int *)(iVar36 + 8) * 4" (pointer_expression "*(int *)(iVar36 + 8)" (* "*") (cast_expression "(int *)(iVar36 + 8)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar36 + 8)" (( "(") (binary_expression "iVar36 + 8" (identifier "iVar36") (+ "+") (number_literal "8")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)*(double *)(iVar26 + iVar35 + 0x28)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (pointer_expression "*(double *)(iVar26 + iVar35 + 0x28)" (* "*") (cast_expression "(double *)(iVar26 + iVar35 + 0x28)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar26 + iVar35 + 0x28)" (( "(") (binary_expression "iVar26 + iVar35 + 0x28" (binary_expression "iVar26 + iVar35" (identifier "iVar26") (+ "+") (identifier "iVar35")) (+ "+") (number_literal "0x28")) () ")")))))) (; ";")) (if_statement "if ((int)(uint)pbVar12[1] < iVar34) {\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }" (if "if") (parenthesized_expression "((int)(uint)pbVar12[1] < iVar34)" (( "(") (binary_expression "(int)(uint)pbVar12[1] < iVar34" (cast_expression "(int)(uint)pbVar12[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(uint)pbVar12[1]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar12[1]" (identifier "pbVar12") ([ "[") (number_literal "1") (] "]")))) (< "<") (identifier "iVar34")) () ")")) (compound_statement "{\n                        iVar35 = (int)(float)pbVar12[1] * 0x58;\n                      }" ({ "{") (expression_statement "iVar35 = (int)(float)pbVar12[1] * 0x58;" (assignment_expression "iVar35 = (int)(float)pbVar12[1] * 0x58" (identifier "iVar35") (= "=") (binary_expression "(int)(float)pbVar12[1] * 0x58" (cast_expression "(int)(float)pbVar12[1]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(float)pbVar12[1]" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (subscript_expression "pbVar12[1]" (identifier "pbVar12") ([ "[") (number_literal "1") (] "]")))) (* "*") (number_literal "0x58"))) (; ";")) (} "}")) (else_clause "else if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }" (else "else") (if_statement "if (*param_2 == 0x1a9) {\n                        iVar35 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }" (if "if") (parenthesized_expression "(*param_2 == 0x1a9)" (( "(") (binary_expression "*param_2 == 0x1a9" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (number_literal "0x1a9")) () ")")) (compound_statement "{\n                        iVar35 = 0;\n                      }" ({ "{") (expression_statement "iVar35 = 0;" (assignment_expression "iVar35 = 0" (identifier "iVar35") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }" (else "else") (compound_statement "{\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar35 = 0;\n                        iVar26 = puVar4[10];\n                        iVar34 = puVar4[9];\n                        iVar36 = puVar4[0xb4];\n                      }" ({ "{") (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" (( "(") (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" (* "*") (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ThrowMagickException_003a8f20"))) () ")")) (argument_list "(param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" (( "(") (identifier "param_2") (, ",") (binary_expression "puVar21 + 0x6f4" (identifier "puVar21") (+ "+") (number_literal "0x6f4")) (, ",") (identifier "puVar29") (, ",") (number_literal "0x30") (, ",") (number_literal "0x1a9") (, ",") (binary_expression "puVar17 + -0x5990" (identifier "puVar17") (+ "+") (number_literal "-0x5990")) (, ",") (identifier "puVar33") (, ",") (binary_expression "puVar4 + 0xd0" (identifier "puVar4") (+ "+") (number_literal "0xd0")) () ")"))) (; ";")) (expression_statement "iVar35 = 0;" (assignment_expression "iVar35 = 0" (identifier "iVar35") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar26 = puVar4[10];" (assignment_expression "iVar26 = puVar4[10]" (identifier "iVar26") (= "=") (subscript_expression "puVar4[10]" (identifier "puVar4") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "iVar34 = puVar4[9];" (assignment_expression "iVar34 = puVar4[9]" (identifier "iVar34") (= "=") (subscript_expression "puVar4[9]" (identifier "puVar4") ([ "[") (number_literal "9") (] "]"))) (; ";")) (expression_statement "iVar36 = puVar4[0xb4];" (assignment_expression "iVar36 = puVar4[0xb4]" (identifier "iVar36") (= "=") (subscript_expression "puVar4[0xb4]" (identifier "puVar4") ([ "[") (number_literal "0xb4") (] "]"))) (; ";")) (} "}")))))) (expression_statement "*(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30);" (assignment_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =\n                           (float)*(double *)(iVar26 + iVar35 + 0x30)" (pointer_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4)" (* "*") (cast_expression "(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + *(int *)(iVar36 + 0x14) * 4)" (( "(") (binary_expression "iVar11 + *(int *)(iVar36 + 0x14) * 4" (identifier "iVar11") (+ "+") (binary_expression "*(int *)(iVar36 + 0x14) * 4" (pointer_expression "*(int *)(iVar36 + 0x14)" (* "*") (cast_expression "(int *)(iVar36 + 0x14)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar36 + 0x14)" (( "(") (binary_expression "iVar36 + 0x14" (identifier "iVar36") (+ "+") (number_literal "0x14")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)*(double *)(iVar26 + iVar35 + 0x30)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (pointer_expression "*(double *)(iVar26 + iVar35 + 0x30)" (* "*") (cast_expression "(double *)(iVar26 + iVar35 + 0x30)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar26 + iVar35 + 0x30)" (( "(") (binary_expression "iVar26 + iVar35 + 0x30" (binary_expression "iVar26 + iVar35" (identifier "iVar26") (+ "+") (identifier "iVar35")) (+ "+") (number_literal "0x30")) () ")")))))) (; ";")) (if_statement "if ((int)(uint)pbVar12[2] < iVar34) {\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }\n                      else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }" (if "if") (parenthesized_expression "((int)(uint)pbVar12[2] < iVar34)" (( "(") (binary_expression "(int)(uint)pbVar12[2] < iVar34" (cast_expression "(int)(uint)pbVar12[2]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(uint)pbVar12[2]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "pbVar12[2]" (identifier "pbVar12") ([ "[") (number_literal "2") (] "]")))) (< "<") (identifier "iVar34")) () ")")) (compound_statement "{\n                        iVar34 = (int)(float)pbVar12[2] * 0x58;\n                      }" ({ "{") (expression_statement "iVar34 = (int)(float)pbVar12[2] * 0x58;" (assignment_expression "iVar34 = (int)(float)pbVar12[2] * 0x58" (identifier "iVar34") (= "=") (binary_expression "(int)(float)pbVar12[2] * 0x58" (cast_expression "(int)(float)pbVar12[2]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(float)pbVar12[2]" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (subscript_expression "pbVar12[2]" (identifier "pbVar12") ([ "[") (number_literal "2") (] "]")))) (* "*") (number_literal "0x58"))) (; ";")) (} "}")) (else_clause "else if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }" (else "else") (if_statement "if (*param_2 == 0x1a9) {\n                        iVar34 = 0;\n                      }\n                      else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }" (if "if") (parenthesized_expression "(*param_2 == 0x1a9)" (( "(") (binary_expression "*param_2 == 0x1a9" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (== "==") (number_literal "0x1a9")) () ")")) (compound_statement "{\n                        iVar34 = 0;\n                      }" ({ "{") (expression_statement "iVar34 = 0;" (assignment_expression "iVar34 = 0" (identifier "iVar34") (= "=") (number_literal "0")) (; ";")) (} "}")) (else_clause "else {\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }" (else "else") (compound_statement "{\n                        (*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);\n                        iVar34 = 0;\n                        iVar26 = puVar4[10];\n                        iVar36 = puVar4[0xb4];\n                      }" ({ "{") (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" (( "(") (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" (* "*") (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ThrowMagickException_003a8f20"))) () ")")) (argument_list "(param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,\n                                   puVar33,puVar4 + 0xd0)" (( "(") (identifier "param_2") (, ",") (binary_expression "puVar21 + 0x6f4" (identifier "puVar21") (+ "+") (number_literal "0x6f4")) (, ",") (identifier "puVar29") (, ",") (number_literal "0x30") (, ",") (number_literal "0x1a9") (, ",") (binary_expression "puVar17 + -0x5990" (identifier "puVar17") (+ "+") (number_literal "-0x5990")) (, ",") (identifier "puVar33") (, ",") (binary_expression "puVar4 + 0xd0" (identifier "puVar4") (+ "+") (number_literal "0xd0")) () ")"))) (; ";")) (expression_statement "iVar34 = 0;" (assignment_expression "iVar34 = 0" (identifier "iVar34") (= "=") (number_literal "0")) (; ";")) (expression_statement "iVar26 = puVar4[10];" (assignment_expression "iVar26 = puVar4[10]" (identifier "iVar26") (= "=") (subscript_expression "puVar4[10]" (identifier "puVar4") ([ "[") (number_literal "10") (] "]"))) (; ";")) (expression_statement "iVar36 = puVar4[0xb4];" (assignment_expression "iVar36 = puVar4[0xb4]" (identifier "iVar36") (= "=") (subscript_expression "puVar4[0xb4]" (identifier "puVar4") ([ "[") (number_literal "0xb4") (] "]"))) (; ";")) (} "}")))))) (expression_statement "iVar35 = *(int *)(iVar36 + 0x34);" (assignment_expression "iVar35 = *(int *)(iVar36 + 0x34)" (identifier "iVar35") (= "=") (pointer_expression "*(int *)(iVar36 + 0x34)" (* "*") (cast_expression "(int *)(iVar36 + 0x34)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar36 + 0x34)" (( "(") (binary_expression "iVar36 + 0x34" (identifier "iVar36") (+ "+") (number_literal "0x34")) () ")"))))) (; ";")) (expression_statement "unaff_s8 = pbVar12 + 4;" (assignment_expression "unaff_s8 = pbVar12 + 4" (identifier "unaff_s8") (= "=") (binary_expression "pbVar12 + 4" (identifier "pbVar12") (+ "+") (number_literal "4"))) (; ";")) (expression_statement "*(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38);" (assignment_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =\n                           (float)*(double *)(iVar26 + iVar34 + 0x38)" (pointer_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4)" (* "*") (cast_expression "(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + *(int *)(iVar36 + 0x20) * 4)" (( "(") (binary_expression "iVar11 + *(int *)(iVar36 + 0x20) * 4" (identifier "iVar11") (+ "+") (binary_expression "*(int *)(iVar36 + 0x20) * 4" (pointer_expression "*(int *)(iVar36 + 0x20)" (* "*") (cast_expression "(int *)(iVar36 + 0x20)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar36 + 0x20)" (( "(") (binary_expression "iVar36 + 0x20" (identifier "iVar36") (+ "+") (number_literal "0x20")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)*(double *)(iVar26 + iVar34 + 0x38)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (pointer_expression "*(double *)(iVar26 + iVar34 + 0x38)" (* "*") (cast_expression "(double *)(iVar26 + iVar34 + 0x38)" (( "(") (type_descriptor "double *" (primitive_type "double") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar26 + iVar34 + 0x38)" (( "(") (binary_expression "iVar26 + iVar34 + 0x38" (binary_expression "iVar26 + iVar34" (identifier "iVar26") (+ "+") (identifier "iVar34")) (+ "+") (number_literal "0x38")) () ")")))))) (; ";")) (if_statement "if (iVar35 != 0) {\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }" (if "if") (parenthesized_expression "(iVar35 != 0)" (( "(") (binary_expression "iVar35 != 0" (identifier "iVar35") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);\n                      }" ({ "{") (expression_statement "*(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45);" (assignment_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =\n                             (float)((double)pbVar12[3] * dVar45)" (pointer_expression "*(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4)" (* "*") (cast_expression "(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4)" (( "(") (type_descriptor "float *" (primitive_type "float") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar11 + *(int *)(iVar36 + 0x38) * 4)" (( "(") (binary_expression "iVar11 + *(int *)(iVar36 + 0x38) * 4" (identifier "iVar11") (+ "+") (binary_expression "*(int *)(iVar36 + 0x38) * 4" (pointer_expression "*(int *)(iVar36 + 0x38)" (* "*") (cast_expression "(int *)(iVar36 + 0x38)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(iVar36 + 0x38)" (( "(") (binary_expression "iVar36 + 0x38" (identifier "iVar36") (+ "+") (number_literal "0x38")) () ")")))) (* "*") (number_literal "4"))) () ")")))) (= "=") (cast_expression "(float)((double)pbVar12[3] * dVar45)" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (parenthesized_expression "((double)pbVar12[3] * dVar45)" (( "(") (binary_expression "(double)pbVar12[3] * dVar45" (cast_expression "(double)pbVar12[3]" (( "(") (type_descriptor "double" (primitive_type "double")) () ")") (subscript_expression "pbVar12[3]" (identifier "pbVar12") ([ "[") (number_literal "3") (] "]"))) (* "*") (identifier "dVar45")) () ")")))) (; ";")) (} "}"))) (expression_statement "iVar25 = iVar25 + 1;" (assignment_expression "iVar25 = iVar25 + 1" (identifier "iVar25") (= "=") (binary_expression "iVar25 + 1" (identifier "iVar25") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "iVar11 = iVar11 + puVar4[0xb0] * 4;" (assignment_expression "iVar11 = iVar11 + puVar4[0xb0] * 4" (identifier "iVar11") (= "=") (binary_expression "iVar11 + puVar4[0xb0] * 4" (identifier "iVar11") (+ "+") (binary_expression "puVar4[0xb0] * 4" (subscript_expression "puVar4[0xb0]" (identifier "puVar4") ([ "[") (number_literal "0xb0") (] "]")) (* "*") (number_literal "4")))) (; ";")) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" (identifier "pbVar12") (= "=") (identifier "unaff_s8")) (; ";")) (} "}")) (while "while") (parenthesized_expression "(iVar25 < (int)puVar4[6])" (( "(") (binary_expression "iVar25 < (int)puVar4[6]" (identifier "iVar25") (< "<") (cast_expression "(int)puVar4[6]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "puVar4[6]" (identifier "puVar4") ([ "[") (number_literal "6") (] "]")))) () ")")) (; ";")) (} "}"))) (expression_statement "iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);" (assignment_expression "iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" (identifier "iVar11") (= "=") (call_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2)" (parenthesized_expression "(*(code *)PTR_SyncAuthenticPixels_003a91e4)" (( "(") (pointer_expression "*(code *)PTR_SyncAuthenticPixels_003a91e4" (* "*") (cast_expression "(code *)PTR_SyncAuthenticPixels_003a91e4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SyncAuthenticPixels_003a91e4"))) () ")")) (argument_list "(puVar4,param_2)" (( "(") (identifier "puVar4") (, ",") (identifier "param_2") () ")")))) (; ";")) (if_statement "if (iVar11 == 0) break;" (if "if") (parenthesized_expression "(iVar11 == 0)" (( "(") (binary_expression "iVar11 == 0" (identifier "iVar11") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar11 = puVar4[7];" (assignment_expression "iVar11 = puVar4[7]" (identifier "iVar11") (= "=") (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]"))) (; ";")) (if_statement "if (puVar4[0xcd9] == 0) {\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }" (if "if") (parenthesized_expression "(puVar4[0xcd9] == 0)" (( "(") (binary_expression "puVar4[0xcd9] == 0" (subscript_expression "puVar4[0xcd9]" (identifier "puVar4") ([ "[") (number_literal "0xcd9") (] "]")) (== "==") (number_literal "0")) () ")")) (compound_statement "{\n                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);\n                    if (local_164 == 0) break;\n                    iVar11 = puVar4[7];\n                  }" ({ "{") (expression_statement "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);" (assignment_expression "local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11)" (identifier "local_164") (= "=") (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11)" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" (( "(") (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" (* "*") (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SetImageProgress_003a8cb4"))) () ")")) (argument_list "(puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0,local_1a0,uVar8,0,iVar11)" (( "(") (identifier "puVar4") (, ",") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +\n                                                  -0x2dd0" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x2dd0")) (, ",") (identifier "local_1a0") (, ",") (identifier "uVar8") (, ",") (number_literal "0") (, ",") (identifier "iVar11") () ")")))) (; ";")) (if_statement "if (local_164 == 0) break;" (if "if") (parenthesized_expression "(local_164 == 0)" (( "(") (binary_expression "local_164 == 0" (identifier "local_164") (== "==") (number_literal "0")) () ")")) (break_statement "break;" (break "break") (; ";"))) (expression_statement "iVar11 = puVar4[7];" (assignment_expression "iVar11 = puVar4[7]" (identifier "iVar11") (= "=") (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]"))) (; ";")) (} "}"))) (expression_statement "uVar7 = uVar8 + 1;" (assignment_expression "uVar7 = uVar8 + 1" (identifier "uVar7") (= "=") (binary_expression "uVar8 + 1" (identifier "uVar8") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);" (assignment_expression "local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0)" (identifier "local_1a0") (= "=") (cast_expression "(byte *)((uint)(uVar7 < uVar8) + (int)local_1a0)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "((uint)(uVar7 < uVar8) + (int)local_1a0)" (( "(") (binary_expression "(uint)(uVar7 < uVar8) + (int)local_1a0" (call_expression "(uint)(uVar7 < uVar8)" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (argument_list "(uVar7 < uVar8)" (( "(") (binary_expression "uVar7 < uVar8" (identifier "uVar7") (< "<") (identifier "uVar8")) () ")"))) (+ "+") (cast_expression "(int)local_1a0" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_1a0"))) () ")")))) (; ";")) (expression_statement "uVar8 = uVar7;" (assignment_expression "uVar8 = uVar7" (identifier "uVar8") (= "=") (identifier "uVar7")) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int)uVar7 < iVar11)" (( "(") (binary_expression "(int)uVar7 < iVar11" (cast_expression "(int)uVar7" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar7")) (< "<") (identifier "iVar11")) () ")")) (; ";")) (} "}"))) (expression_statement "uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);" (assignment_expression "uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10])" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10])" (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 "(puVar4[10])" (( "(") (subscript_expression "puVar4[10]" (identifier "puVar4") ([ "[") (number_literal "10") (] "]")) () ")")))) (; ";")) (expression_statement "puVar4[10] = uVar6;" (assignment_expression "puVar4[10] = uVar6" (subscript_expression "puVar4[10]" (identifier "puVar4") ([ "[") (number_literal "10") (] "]")) (= "=") (identifier "uVar6")) (; ";")) (expression_statement "puVar4[9] = 0;" (assignment_expression "puVar4[9] = 0" (subscript_expression "puVar4[9]" (identifier "puVar4") ([ "[") (number_literal "9") (] "]")) (= "=") (number_literal "0")) (; ";")) (expression_statement "*puVar4 = 1;" (assignment_expression "*puVar4 = 1" (pointer_expression "*puVar4" (* "*") (identifier "puVar4")) (= "=") (number_literal "1")) (; ";")) (} "}")))) (labeled_statement "LAB_002a5fb4:\n            if (uVar9 == 0) goto LAB_002a5fc4;" (statement_identifier "LAB_002a5fb4") (: ":") (if_statement "if (uVar9 == 0) goto LAB_002a5fc4;" (if "if") (parenthesized_expression "(uVar9 == 0)" (( "(") (binary_expression "uVar9 == 0" (identifier "uVar9") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_002a5fc4;" (goto "goto") (statement_identifier "LAB_002a5fc4") (; ";")))) (} "}")) (else_clause "else {\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }" (else "else") (compound_statement "{\n            if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }\n            if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }\n            iVar11 = puVar4[7];\nLAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;\n          }" ({ "{") (if_statement "if (uVar38 < 3) {\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }" (if "if") (parenthesized_expression "(uVar38 < 3)" (( "(") (binary_expression "uVar38 < 3" (identifier "uVar38") (< "<") (number_literal "3")) () ")")) (compound_statement "{\n              if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }\n              goto LAB_002a6aa4;\n            }" ({ "{") (if_statement "if ((int)uVar8 < (int)local_17c) {\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }" (if "if") (parenthesized_expression "((int)uVar8 < (int)local_17c)" (( "(") (binary_expression "(int)uVar8 < (int)local_17c" (cast_expression "(int)uVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar8")) (< "<") (cast_expression "(int)local_17c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_17c"))) () ")")) (compound_statement "{\nLAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }\n                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);\n                param_1 = param_1 + 0x2210;\n                uVar6 = 0x21a;\n                puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;\n                uVar18 = 0x1a9;\n                goto LAB_002a5e2c;\n              }" ({ "{") (labeled_statement "LAB_002a74c4:\n                if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }" (statement_identifier "LAB_002a74c4") (: ":") (if_statement "if (local_178 != (byte *)0x0) {\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n                }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}")))) (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))) (; ";")) (expression_statement "param_1 = param_1 + 0x2210;" (assignment_expression "param_1 = param_1 + 0x2210" (identifier "param_1") (= "=") (binary_expression "param_1 + 0x2210" (identifier "param_1") (+ "+") (number_literal "0x2210"))) (; ";")) (expression_statement "uVar6 = 0x21a;" (assignment_expression "uVar6 = 0x21a" (identifier "uVar6") (= "=") (number_literal "0x21a")) (; ";")) (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" (identifier "puVar16") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28"))) (; ";")) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" (identifier "puVar33") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x25c4"))) (; ";")) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "puVar29") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x2560"))) (; ";")) (expression_statement "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;" (assignment_expression "puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc" (identifier "puVar17") (= "=") (binary_expression "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc" (identifier "PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8") (+ "+") (number_literal "-0x18cc"))) (; ";")) (expression_statement "uVar18 = 0x1a9;" (assignment_expression "uVar18 = 0x1a9" (identifier "uVar18") (= "=") (number_literal "0x1a9")) (; ";")) (goto_statement "goto LAB_002a5e2c;" (goto "goto") (statement_identifier "LAB_002a5e2c") (; ";")) (} "}"))) (goto_statement "goto LAB_002a6aa4;" (goto "goto") (statement_identifier "LAB_002a6aa4") (; ";")) (} "}"))) (if_statement "if (uVar9 == 2) {\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }\n            else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }" (if "if") (parenthesized_expression "(uVar9 == 2)" (( "(") (binary_expression "uVar9 == 2" (identifier "uVar9") (== "==") (number_literal "2")) () ")")) (compound_statement "{\n              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;\n            }" ({ "{") (if_statement "if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;" (if "if") (parenthesized_expression "((int)uVar8 < (int)local_17c)" (( "(") (binary_expression "(int)uVar8 < (int)local_17c" (cast_expression "(int)uVar8" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar8")) (< "<") (cast_expression "(int)local_17c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_17c"))) () ")")) (goto_statement "goto LAB_002a74c4;" (goto "goto") (statement_identifier "LAB_002a74c4") (; ";"))) (} "}")) (else_clause "else if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }" (else "else") (if_statement "if (0 < (int)local_17c) {\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }" (if "if") (parenthesized_expression "(0 < (int)local_17c)" (( "(") (binary_expression "0 < (int)local_17c" (number_literal "0") (< "<") (cast_expression "(int)local_17c" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "local_17c"))) () ")")) (compound_statement "{\n              uVar8 = 1;\n              if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }\n              uVar7 = 0;\n              puVar29 = PTR_LAB_003a88e0 + 0x3e28;\n              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;\n              puVar21 = PTR_s_courses_003a88ec + 0x6f4;\n              pbVar12 = pbVar15;\n              do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);\n            }" ({ "{") (expression_statement "uVar8 = 1;" (assignment_expression "uVar8 = 1" (identifier "uVar8") (= "=") (number_literal "1")) (; ";")) (if_statement "if (0 < (int)uVar38) {\n                uVar8 = uVar38;\n              }" (if "if") (parenthesized_expression "(0 < (int)uVar38)" (( "(") (binary_expression "0 < (int)uVar38" (number_literal "0") (< "<") (cast_expression "(int)uVar38" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar38"))) () ")")) (compound_statement "{\n                uVar8 = uVar38;\n              }" ({ "{") (expression_statement "uVar8 = uVar38;" (assignment_expression "uVar8 = uVar38" (identifier "uVar8") (= "=") (identifier "uVar38")) (; ";")) (} "}"))) (expression_statement "uVar7 = 0;" (assignment_expression "uVar7 = 0" (identifier "uVar7") (= "=") (number_literal "0")) (; ";")) (expression_statement "puVar29 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar29 = PTR_LAB_003a88e0 + 0x3e28" (identifier "puVar29") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28"))) (; ";")) (expression_statement "puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;" (assignment_expression "puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990" (identifier "puVar33") (= "=") (binary_expression "PTR_s_t_to_left_003a88e4 + -0x5990" (identifier "PTR_s_t_to_left_003a88e4") (+ "+") (number_literal "-0x5990"))) (; ";")) (expression_statement "puVar21 = PTR_s_courses_003a88ec + 0x6f4;" (assignment_expression "puVar21 = PTR_s_courses_003a88ec + 0x6f4" (identifier "puVar21") (= "=") (binary_expression "PTR_s_courses_003a88ec + 0x6f4" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "0x6f4"))) (; ";")) (expression_statement "pbVar12 = pbVar15;" (assignment_expression "pbVar12 = pbVar15" (identifier "pbVar12") (= "=") (identifier "pbVar15")) (; ";")) (do_statement "do {\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              } while (uVar7 != local_17c);" (do "do") (compound_statement "{\n                unaff_s8 = (byte *)0x0;\n                pbVar19 = pbVar12;\n                do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);\n                pbVar12 = pbVar12 + uVar8;\n                uVar7 = uVar7 + 1;\n              }" ({ "{") (expression_statement "unaff_s8 = (byte *)0x0;" (assignment_expression "unaff_s8 = (byte *)0x0" (identifier "unaff_s8") (= "=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "pbVar19 = pbVar12;" (assignment_expression "pbVar19 = pbVar12" (identifier "pbVar19") (= "=") (identifier "pbVar12")) (; ";")) (do_statement "do {\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);" (do "do") (compound_statement "{\n                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }\n                  pbVar40 = pbVar19 + 1;\n                  *pbVar19 = *pbVar31;\n                  unaff_s8 = unaff_s8 + uVar24;\n                  pbVar19 = pbVar40;\n                }" ({ "{") (if_statement "if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }\n                  else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }" (if "if") (parenthesized_expression "((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9])" (( "(") (binary_expression "(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]" (cast_expression "(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" (( "(") (binary_expression "unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)" (identifier "unaff_s8") (+ "+") (parenthesized_expression "((uint)*pbVar19 & uVar24 - 1)" (( "(") (binary_expression "(uint)*pbVar19 & uVar24 - 1" (binary_expression "(uint)*pbVar19" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar19")) (& "&") (binary_expression "uVar24 - 1" (identifier "uVar24") (- "-") (number_literal "1"))) () ")"))) () ")"))) (< "<") (cast_expression "(int)puVar4[9]" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (subscript_expression "puVar4[9]" (identifier "puVar4") ([ "[") (number_literal "9") (] "]")))) () ")")) (compound_statement "{\n                    pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));\n                  }" ({ "{") (expression_statement "pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));" (assignment_expression "pbVar31 = local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" (identifier "pbVar31") (= "=") (binary_expression "local_178 +\n                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" (identifier "local_178") (+ "+") (cast_expression "(int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (cast_expression "(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" (( "(") (type_descriptor "float" (primitive_type "float")) () ")") (cast_expression "(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1))" (( "(") (binary_expression "unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)" (identifier "unaff_s8") (+ "+") (parenthesized_expression "((uint)*pbVar19 & uVar24 - 1)" (( "(") (binary_expression "(uint)*pbVar19 & uVar24 - 1" (binary_expression "(uint)*pbVar19" (parenthesized_expression "(uint)" (( "(") (identifier "uint") () ")")) (* "*") (identifier "pbVar19")) (& "&") (binary_expression "uVar24 - 1" (identifier "uVar24") (- "-") (number_literal "1"))) () ")"))) () ")"))))))) (; ";")) (} "}")) (else_clause "else {\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }" (else "else") (compound_statement "{\n                    pbVar31 = local_178;\n                    if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }\n                  }" ({ "{") (expression_statement "pbVar31 = local_178;" (assignment_expression "pbVar31 = local_178" (identifier "pbVar31") (= "=") (identifier "local_178")) (; ";")) (if_statement "if (*param_2 != 0x1a9) {\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }" (if "if") (parenthesized_expression "(*param_2 != 0x1a9)" (( "(") (binary_expression "*param_2 != 0x1a9" (pointer_expression "*param_2" (* "*") (identifier "param_2")) (!= "!=") (number_literal "0x1a9")) () ")")) (compound_statement "{\n                      (*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);\n                    }" ({ "{") (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" (( "(") (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" (* "*") (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ThrowMagickException_003a8f20"))) () ")")) (argument_list "(param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,\n                                 puVar4 + 0xd0)" (( "(") (identifier "param_2") (, ",") (identifier "puVar21") (, ",") (binary_expression "puVar17 + 0x25ac" (identifier "puVar17") (+ "+") (number_literal "0x25ac")) (, ",") (number_literal "0x30") (, ",") (number_literal "0x1a9") (, ",") (identifier "puVar33") (, ",") (identifier "puVar29") (, ",") (binary_expression "puVar4 + 0xd0" (identifier "puVar4") (+ "+") (number_literal "0xd0")) () ")"))) (; ";")) (} "}"))) (} "}")))) (expression_statement "pbVar40 = pbVar19 + 1;" (assignment_expression "pbVar40 = pbVar19 + 1" (identifier "pbVar40") (= "=") (binary_expression "pbVar19 + 1" (identifier "pbVar19") (+ "+") (number_literal "1"))) (; ";")) (expression_statement "*pbVar19 = *pbVar31;" (assignment_expression "*pbVar19 = *pbVar31" (pointer_expression "*pbVar19" (* "*") (identifier "pbVar19")) (= "=") (pointer_expression "*pbVar31" (* "*") (identifier "pbVar31"))) (; ";")) (expression_statement "unaff_s8 = unaff_s8 + uVar24;" (assignment_expression "unaff_s8 = unaff_s8 + uVar24" (identifier "unaff_s8") (= "=") (binary_expression "unaff_s8 + uVar24" (identifier "unaff_s8") (+ "+") (identifier "uVar24"))) (; ";")) (expression_statement "pbVar19 = pbVar40;" (assignment_expression "pbVar19 = pbVar40" (identifier "pbVar19") (= "=") (identifier "pbVar40")) (; ";")) (} "}")) (while "while") (parenthesized_expression "((int)pbVar40 - (int)pbVar12 < (int)uVar38)" (( "(") (binary_expression "(int)pbVar40 - (int)pbVar12 < (int)uVar38" (binary_expression "(int)pbVar40 - (int)pbVar12" (cast_expression "(int)pbVar40" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar40")) (- "-") (cast_expression "(int)pbVar12" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "pbVar12"))) (< "<") (cast_expression "(int)uVar38" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar38"))) () ")")) (; ";")) (expression_statement "pbVar12 = pbVar12 + uVar8;" (assignment_expression "pbVar12 = pbVar12 + uVar8" (identifier "pbVar12") (= "=") (binary_expression "pbVar12 + uVar8" (identifier "pbVar12") (+ "+") (identifier "uVar8"))) (; ";")) (expression_statement "uVar7 = uVar7 + 1;" (assignment_expression "uVar7 = uVar7 + 1" (identifier "uVar7") (= "=") (binary_expression "uVar7 + 1" (identifier "uVar7") (+ "+") (number_literal "1"))) (; ";")) (} "}")) (while "while") (parenthesized_expression "(uVar7 != local_17c)" (( "(") (binary_expression "uVar7 != local_17c" (identifier "uVar7") (!= "!=") (identifier "local_17c")) () ")")) (; ";")) (} "}"))))) (expression_statement "iVar11 = puVar4[7];" (assignment_expression "iVar11 = puVar4[7]" (identifier "iVar11") (= "=") (subscript_expression "puVar4[7]" (identifier "puVar4") ([ "[") (number_literal "7") (] "]"))) (; ";")) (labeled_statement "LAB_002a5bd4:\n            if (0 < iVar11) goto LAB_002a5be0;" (statement_identifier "LAB_002a5bd4") (: ":") (if_statement "if (0 < iVar11) goto LAB_002a5be0;" (if "if") (parenthesized_expression "(0 < iVar11)" (( "(") (binary_expression "0 < iVar11" (number_literal "0") (< "<") (identifier "iVar11")) () ")")) (goto_statement "goto LAB_002a5be0;" (goto "goto") (statement_identifier "LAB_002a5be0") (; ";")))) (} "}")))) (expression_statement "local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);" (assignment_expression "local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (identifier "local_178") (= "=") (cast_expression "(byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178)" (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 "(local_178)" (( "(") (identifier "local_178") () ")"))))) (; ";")) (} "}")))) (labeled_statement "LAB_002a5fc4:\n        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" (statement_identifier "LAB_002a5fc4") (: ":") (expression_statement "local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);" (assignment_expression "local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (identifier "local_1a0") (= "=") (cast_expression "(byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5)" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "(iVar5)" (( "(") (identifier "iVar5") () ")"))))) (; ";"))) (expression_statement "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_EOFBlob_003a9748)(puVar4)" (parenthesized_expression "(*(code *)PTR_EOFBlob_003a9748)" (( "(") (pointer_expression "*(code *)PTR_EOFBlob_003a9748" (* "*") (cast_expression "(code *)PTR_EOFBlob_003a9748" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_EOFBlob_003a9748"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "pbVar12 = unaff_s8;" (assignment_expression "pbVar12 = unaff_s8" (identifier "pbVar12") (= "=") (identifier "unaff_s8")) (; ";")) (if_statement "if (iVar5 != 0) {\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }" (if "if") (parenthesized_expression "(iVar5 != 0)" (( "(") (binary_expression "iVar5 != 0" (identifier "iVar5") (!= "!=") (number_literal "0")) () ")")) (compound_statement "{\n          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();\n          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);\n          (*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);\n          (*(code *)PTR_DestroyString_003a9074)(uVar6);\nLAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          if (local_164 != 0) goto LAB_002a56b8;\n          goto LAB_002a57d0;\n        }" ({ "{") (expression_statement "puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();" (assignment_expression "puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" (identifier "puVar22") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR___errno_location_003a99b0)()" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR___errno_location_003a99b0)()" (parenthesized_expression "(*(code *)PTR___errno_location_003a99b0)" (( "(") (pointer_expression "*(code *)PTR___errno_location_003a99b0" (* "*") (cast_expression "(code *)PTR___errno_location_003a99b0" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR___errno_location_003a99b0"))) () ")")) (argument_list "()" (( "(") () ")"))))) (; ";")) (expression_statement "uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);" (assignment_expression "uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22)" (identifier "uVar6") (= "=") (call_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22)" (parenthesized_expression "(*(code *)PTR_GetExceptionMessage_003a93ec)" (( "(") (pointer_expression "*(code *)PTR_GetExceptionMessage_003a93ec" (* "*") (cast_expression "(code *)PTR_GetExceptionMessage_003a93ec" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetExceptionMessage_003a93ec"))) () ")")) (argument_list "(*puVar22)" (( "(") (pointer_expression "*puVar22" (* "*") (identifier "puVar22")) () ")")))) (; ";")) (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" (( "(") (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" (* "*") (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ThrowMagickException_003a8f20"))) () ")")) (argument_list "(param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,\n                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6)" (( "(") (identifier "param_2") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x2560")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x25c4")) (, ",") (number_literal "0x2ad") (, ",") (number_literal "0x1a9") (, ",") (binary_expression "PTR_s_courses_003a88ec + -0x17c" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-0x17c")) (, ",") (binary_expression "PTR_LAB_003a88e0 + 0xe78" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0xe78")) (, ",") (binary_expression "puVar4 + 0xd0" (identifier "puVar4") (+ "+") (number_literal "0xd0")) (, ",") (identifier "uVar6") () ")"))) (; ";")) (expression_statement "(*(code *)PTR_DestroyString_003a9074)(uVar6);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(uVar6)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" (( "(") (pointer_expression "*(code *)PTR_DestroyString_003a9074" (* "*") (cast_expression "(code *)PTR_DestroyString_003a9074" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyString_003a9074"))) () ")")) (argument_list "(uVar6)" (( "(") (identifier "uVar6") () ")"))) (; ";")) (labeled_statement "LAB_002a6040:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);" (statement_identifier "LAB_002a6040") (: ":") (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(puVar4);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(puVar4)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" (( "(") (pointer_expression "*(code *)PTR_CloseBlob_003a9688" (* "*") (cast_expression "(code *)PTR_CloseBlob_003a9688" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_CloseBlob_003a9688"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";"))) (if_statement "if (local_164 != 0) goto LAB_002a56b8;" (if "if") (parenthesized_expression "(local_164 != 0)" (( "(") (binary_expression "local_164 != 0" (identifier "local_164") (!= "!=") (number_literal "0")) () ")")) (goto_statement "goto LAB_002a56b8;" (goto "goto") (statement_identifier "LAB_002a56b8") (; ";"))) (goto_statement "goto LAB_002a57d0;" (goto "goto") (statement_identifier "LAB_002a57d0") (; ";")) (} "}"))) (if_statement "if ((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))\n        goto LAB_002a6040;" (if "if") (parenthesized_expression "((*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))" (( "(") (binary_expression "(*(int *)(param_1 + 0x2c) != 0) &&\n           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b])" (parenthesized_expression "(*(int *)(param_1 + 0x2c) != 0)" (( "(") (binary_expression "*(int *)(param_1 + 0x2c) != 0" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (!= "!=") (number_literal "0")) () ")")) (&& "&&") (parenthesized_expression "((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b])" (( "(") (binary_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]" (binary_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U" (parenthesized_expression "(*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28))" (( "(") (binary_expression "*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)" (pointer_expression "*(int *)(param_1 + 0x2c)" (* "*") (cast_expression "(int *)(param_1 + 0x2c)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x2c)" (( "(") (binary_expression "param_1 + 0x2c" (identifier "param_1") (+ "+") (number_literal "0x2c")) () ")")))) (+ "+") (pointer_expression "*(int *)(param_1 + 0x28)" (* "*") (cast_expression "(int *)(param_1 + 0x28)" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (parenthesized_expression "(param_1 + 0x28)" (( "(") (binary_expression "param_1 + 0x28" (identifier "param_1") (+ "+") (number_literal "0x28")) () ")"))))) () ")")) (- "-") (number_literal "1U")) (<= "<=") (cast_expression "(uint)puVar4[0x9b]" (( "(") (type_descriptor "uint" (type_identifier "uint")) () ")") (subscript_expression "puVar4[0x9b]" (identifier "puVar4") ([ "[") (number_literal "0x9b") (] "]")))) () ")"))) () ")")) (goto_statement "goto LAB_002a6040;" (goto "goto") (statement_identifier "LAB_002a6040") (; ";"))) (expression_statement "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);" (call_expression "(*(code *)PTR_ReadBlobByte_003a97f0)(puVar4)" (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 "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);" (assignment_expression "iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158)" (parenthesized_expression "(*(code *)PTR_ReadBlob_003a8dac)" (( "(") (pointer_expression "*(code *)PTR_ReadBlob_003a8dac" (* "*") (cast_expression "(code *)PTR_ReadBlob_003a8dac" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ReadBlob_003a8dac"))) () ")")) (argument_list "(puVar4,2,local_158)" (( "(") (identifier "puVar4") (, ",") (number_literal "2") (, ",") (identifier "local_158") () ")")))) (; ";")) (if_statement "if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;" (if "if") (parenthesized_expression "((iVar5 == 0) || (local_158[0] != 0x52cc))" (( "(") (binary_expression "(iVar5 == 0) || (local_158[0] != 0x52cc)" (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (|| "||") (parenthesized_expression "(local_158[0] != 0x52cc)" (( "(") (binary_expression "local_158[0] != 0x52cc" (subscript_expression "local_158[0]" (identifier "local_158") ([ "[") (number_literal "0") (] "]")) (!= "!=") (number_literal "0x52cc")) () ")"))) () ")")) (goto_statement "goto LAB_002a6040;" (goto "goto") (statement_identifier "LAB_002a6040") (; ";"))) (expression_statement "(*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);" (call_expression "(*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2)" (parenthesized_expression "(*(code *)PTR_AcquireNextImage_003a8f90)" (( "(") (pointer_expression "*(code *)PTR_AcquireNextImage_003a8f90" (* "*") (cast_expression "(code *)PTR_AcquireNextImage_003a8f90" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_AcquireNextImage_003a8f90"))) () ")")) (argument_list "(param_1,puVar4,param_2)" (( "(") (identifier "param_1") (, ",") (identifier "puVar4") (, ",") (identifier "param_2") () ")"))) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);" (assignment_expression "iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_GetNextImageInList_003a9470)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetNextImageInList_003a9470)" (( "(") (pointer_expression "*(code *)PTR_GetNextImageInList_003a9470" (* "*") (cast_expression "(code *)PTR_GetNextImageInList_003a9470" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetNextImageInList_003a9470"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) {\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (compound_statement "{\nLAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);\n          goto LAB_002a57d0;\n        }" ({ "{") (labeled_statement "LAB_002a74b0:\n          (*(code *)PTR_CloseBlob_003a9688)(puVar4);" (statement_identifier "LAB_002a74b0") (: ":") (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(puVar4);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(puVar4)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" (( "(") (pointer_expression "*(code *)PTR_CloseBlob_003a9688" (* "*") (cast_expression "(code *)PTR_CloseBlob_003a9688" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_CloseBlob_003a9688"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";"))) (goto_statement "goto LAB_002a57d0;" (goto "goto") (statement_identifier "LAB_002a57d0") (; ";")) (} "}"))) (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4)" (parenthesized_expression "(*(code *)PTR_SyncNextImageInList_003a9408)" (( "(") (pointer_expression "*(code *)PTR_SyncNextImageInList_003a9408" (* "*") (cast_expression "(code *)PTR_SyncNextImageInList_003a9408" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SyncNextImageInList_003a9408"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))))) (; ";")) (expression_statement "uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);" (assignment_expression "uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4)" (identifier "uVar47") (= "=") (call_expression "(*(code *)PTR_TellBlob_003a931c)(puVar4)" (parenthesized_expression "(*(code *)PTR_TellBlob_003a931c)" (( "(") (pointer_expression "*(code *)PTR_TellBlob_003a931c" (* "*") (cast_expression "(code *)PTR_TellBlob_003a931c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_TellBlob_003a931c"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);" (assignment_expression "uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" (identifier "uVar48") (= "=") (call_expression "(*(code *)PTR_GetBlobSize_003a94b8)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetBlobSize_003a94b8)" (( "(") (pointer_expression "*(code *)PTR_GetBlobSize_003a94b8" (* "*") (cast_expression "(code *)PTR_GetBlobSize_003a94b8" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetBlobSize_003a94b8"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")")))) (; ";")) (expression_statement "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48);" (assignment_expression "iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48)" (identifier "iVar5") (= "=") (call_expression "(*(code *)PTR_SetImageProgress_003a8cb4)\n                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48)" (parenthesized_expression "(*(code *)PTR_SetImageProgress_003a8cb4)" (( "(") (pointer_expression "*(code *)PTR_SetImageProgress_003a8cb4" (* "*") (cast_expression "(code *)PTR_SetImageProgress_003a8cb4" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_SetImageProgress_003a8cb4"))) () ")")) (argument_list "(puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),\n                           (int)uVar47,uVar48)" (( "(") (identifier "puVar4") (, ",") (binary_expression "PTR_s_courses_003a88ec + -0x168" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-0x168")) (, ",") (cast_expression "(int)((ulonglong)uVar47 >> 0x20)" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (parenthesized_expression "((ulonglong)uVar47 >> 0x20)" (( "(") (binary_expression "(ulonglong)uVar47 >> 0x20" (cast_expression "(ulonglong)uVar47" (( "(") (type_descriptor "ulonglong" (type_identifier "ulonglong")) () ")") (identifier "uVar47")) (>> ">>") (number_literal "0x20")) () ")"))) (, ",") (cast_expression "(int)uVar47" (( "(") (type_descriptor "int" (primitive_type "int")) () ")") (identifier "uVar47")) (, ",") (identifier "uVar48") () ")")))) (; ";")) (if_statement "if (iVar5 == 0) goto LAB_002a74b0;" (if "if") (parenthesized_expression "(iVar5 == 0)" (( "(") (binary_expression "iVar5 == 0" (identifier "iVar5") (== "==") (number_literal "0")) () ")")) (goto_statement "goto LAB_002a74b0;" (goto "goto") (statement_identifier "LAB_002a74b0") (; ";"))) (} "}")) (while "while") (parenthesized_expression "(local_158[0] == 0x52cc)" (( "(") (binary_expression "local_158[0] == 0x52cc" (subscript_expression "local_158[0]" (identifier "local_158") ([ "[") (number_literal "0") (] "]")) (== "==") (number_literal "0x52cc")) () ")")) (; ";")) (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(puVar4);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(puVar4)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" (( "(") (pointer_expression "*(code *)PTR_CloseBlob_003a9688" (* "*") (cast_expression "(code *)PTR_CloseBlob_003a9688" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_CloseBlob_003a9688"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))) (; ";")) (labeled_statement "LAB_002a56b8:\n      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);" (statement_identifier "LAB_002a56b8") (: ":") (expression_statement "puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);" (assignment_expression "puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4)" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4)" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (call_expression "(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4)" (parenthesized_expression "(*(code *)PTR_GetFirstImageInList_003a944c)" (( "(") (pointer_expression "*(code *)PTR_GetFirstImageInList_003a944c" (* "*") (cast_expression "(code *)PTR_GetFirstImageInList_003a944c" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_GetFirstImageInList_003a944c"))) () ")")) (argument_list "(puVar4)" (( "(") (identifier "puVar4") () ")"))))) (; ";"))) (} "}")) (else_clause "else {\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }" (else "else") (compound_statement "{\n      (*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);\n      puVar22 = puVar4;\n      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;\n    }" ({ "{") (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" (( "(") (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" (* "*") (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ThrowMagickException_003a8f20"))) () ")")) (argument_list "(param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,\n                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,\n                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210)" (( "(") (identifier "param_2") (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x2560")) (, ",") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x25c4")) (, ",") (number_literal "0xdd") (, ",") (number_literal "0x1a9") (, ",") (binary_expression "PTR_s_courses_003a88ec + -400" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-400")) (, ",") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28")) (, ",") (binary_expression "param_1 + 0x2210" (identifier "param_1") (+ "+") (number_literal "0x2210")) () ")"))) (; ";")) (expression_statement "puVar22 = puVar4;" (assignment_expression "puVar22 = puVar4" (identifier "puVar22") (= "=") (identifier "puVar4")) (; ";")) (if_statement "if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;" (if "if") (parenthesized_expression "(puVar4 != (undefined4 *)0x0)" (( "(") (binary_expression "puVar4 != (undefined4 *)0x0" (identifier "puVar4") (!= "!=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (goto_statement "goto LAB_002a5728;" (goto "goto") (statement_identifier "LAB_002a5728") (; ";"))) (} "}")))) (} "}")))) (while_statement "while (local_4c != *(int *)puVar3) {\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    param_1 = local_188 + 0x2210;\n    uVar6 = 0x143;\nLAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar17 = PTR_s_courses_003a88ec + -0x17c;\n    uVar18 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);\n    puVar22 = puVar4;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);\n    puVar4 = (undefined4 *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(puVar22);\n  }" (while "while") (parenthesized_expression "(local_4c != *(int *)puVar3)" (( "(") (binary_expression "local_4c != *(int *)puVar3" (identifier "local_4c") (!= "!=") (pointer_expression "*(int *)puVar3" (* "*") (cast_expression "(int *)puVar3" (( "(") (type_descriptor "int *" (primitive_type "int") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "puVar3")))) () ")")) (compound_statement "{\n    (*(code *)PTR___stack_chk_fail_003a9064)();\nLAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);\n    if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }\n    if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }\n    param_1 = local_188 + 0x2210;\n    uVar6 = 0x143;\nLAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;\n    puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;\n    puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;\n    puVar17 = PTR_s_courses_003a88ec + -0x17c;\n    uVar18 = 0x1a9;\nLAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);\n    puVar22 = puVar4;\nLAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);\n    puVar4 = (undefined4 *)0x0;\n    (*(code *)PTR_DestroyImageList_003a9510)(puVar22);\n  }" ({ "{") (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 "()" (( "(") () ")"))) (; ";")) (labeled_statement "LAB_002a7380:\n    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);" (statement_identifier "LAB_002a7380") (: ":") (expression_statement "(*(code *)PTR_DestroyString_003a9074)(unaff_s8);" (call_expression "(*(code *)PTR_DestroyString_003a9074)(unaff_s8)" (parenthesized_expression "(*(code *)PTR_DestroyString_003a9074)" (( "(") (pointer_expression "*(code *)PTR_DestroyString_003a9074" (* "*") (cast_expression "(code *)PTR_DestroyString_003a9074" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyString_003a9074"))) () ")")) (argument_list "(unaff_s8)" (( "(") (identifier "unaff_s8") () ")"))) (; ";"))) (if_statement "if (local_178 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }" (if "if") (parenthesized_expression "(local_178 != (byte *)0x0)" (( "(") (binary_expression "local_178 != (byte *)0x0" (identifier "local_178") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();\n    }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)();" (call_expression "(*(code *)PTR_RelinquishMagickMemory_003a8fc0)()" (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 "()" (( "(") () ")"))) (; ";")) (} "}"))) (if_statement "if (local_1a0 != (byte *)0x0) {\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }" (if "if") (parenthesized_expression "(local_1a0 != (byte *)0x0)" (( "(") (binary_expression "local_1a0 != (byte *)0x0" (identifier "local_1a0") (!= "!=") (cast_expression "(byte *)0x0" (( "(") (type_descriptor "byte *" (type_identifier "byte") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) () ")")) (compound_statement "{\n      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();\n    }" ({ "{") (expression_statement "(*(code *)PTR_RelinquishVirtualMemory_003a9398)();" (call_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)()" (parenthesized_expression "(*(code *)PTR_RelinquishVirtualMemory_003a9398)" (( "(") (pointer_expression "*(code *)PTR_RelinquishVirtualMemory_003a9398" (* "*") (cast_expression "(code *)PTR_RelinquishVirtualMemory_003a9398" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_RelinquishVirtualMemory_003a9398"))) () ")")) (argument_list "()" (( "(") () ")"))) (; ";")) (} "}"))) (expression_statement "param_1 = local_188 + 0x2210;" (assignment_expression "param_1 = local_188 + 0x2210" (identifier "param_1") (= "=") (binary_expression "local_188 + 0x2210" (identifier "local_188") (+ "+") (number_literal "0x2210"))) (; ";")) (expression_statement "uVar6 = 0x143;" (assignment_expression "uVar6 = 0x143" (identifier "uVar6") (= "=") (number_literal "0x143")) (; ";")) (labeled_statement "LAB_002a6244:\n    puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (statement_identifier "LAB_002a6244") (: ":") (expression_statement "puVar16 = PTR_LAB_003a88e0 + 0x3e28;" (assignment_expression "puVar16 = PTR_LAB_003a88e0 + 0x3e28" (identifier "puVar16") (= "=") (binary_expression "PTR_LAB_003a88e0 + 0x3e28" (identifier "PTR_LAB_003a88e0") (+ "+") (number_literal "0x3e28"))) (; ";"))) (expression_statement "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;" (assignment_expression "puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" (identifier "puVar33") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x25c4"))) (; ";")) (expression_statement "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;" (assignment_expression "puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "puVar29") (= "=") (binary_expression "PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560" (identifier "PTR_s_pixels_3_def_____currentfile_byt_003a894c") (+ "+") (number_literal "0x2560"))) (; ";")) (expression_statement "puVar17 = PTR_s_courses_003a88ec + -0x17c;" (assignment_expression "puVar17 = PTR_s_courses_003a88ec + -0x17c" (identifier "puVar17") (= "=") (binary_expression "PTR_s_courses_003a88ec + -0x17c" (identifier "PTR_s_courses_003a88ec") (+ "+") (number_literal "-0x17c"))) (; ";")) (expression_statement "uVar18 = 0x1a9;" (assignment_expression "uVar18 = 0x1a9" (identifier "uVar18") (= "=") (number_literal "0x1a9")) (; ";")) (labeled_statement "LAB_002a5e2c:\n    (*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);" (statement_identifier "LAB_002a5e2c") (: ":") (expression_statement "(*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);" (call_expression "(*(code *)PTR_ThrowMagickException_003a8f20)\n              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1)" (parenthesized_expression "(*(code *)PTR_ThrowMagickException_003a8f20)" (( "(") (pointer_expression "*(code *)PTR_ThrowMagickException_003a8f20" (* "*") (cast_expression "(code *)PTR_ThrowMagickException_003a8f20" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_ThrowMagickException_003a8f20"))) () ")")) (argument_list "(local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1)" (( "(") (identifier "local_18c") (, ",") (identifier "puVar29") (, ",") (identifier "puVar33") (, ",") (identifier "uVar6") (, ",") (identifier "uVar18") (, ",") (identifier "puVar17") (, ",") (identifier "puVar16") (, ",") (identifier "param_1") () ")"))) (; ";"))) (expression_statement "puVar22 = puVar4;" (assignment_expression "puVar22 = puVar4" (identifier "puVar22") (= "=") (identifier "puVar4")) (; ";")) (labeled_statement "LAB_002a5728:\n    (*(code *)PTR_CloseBlob_003a9688)(puVar22);" (statement_identifier "LAB_002a5728") (: ":") (expression_statement "(*(code *)PTR_CloseBlob_003a9688)(puVar22);" (call_expression "(*(code *)PTR_CloseBlob_003a9688)(puVar22)" (parenthesized_expression "(*(code *)PTR_CloseBlob_003a9688)" (( "(") (pointer_expression "*(code *)PTR_CloseBlob_003a9688" (* "*") (cast_expression "(code *)PTR_CloseBlob_003a9688" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_CloseBlob_003a9688"))) () ")")) (argument_list "(puVar22)" (( "(") (identifier "puVar22") () ")"))) (; ";"))) (expression_statement "puVar4 = (undefined4 *)0x0;" (assignment_expression "puVar4 = (undefined4 *)0x0" (identifier "puVar4") (= "=") (cast_expression "(undefined4 *)0x0" (( "(") (type_descriptor "undefined4 *" (type_identifier "undefined4") (abstract_pointer_declarator "*" (* "*"))) () ")") (number_literal "0x0"))) (; ";")) (expression_statement "(*(code *)PTR_DestroyImageList_003a9510)(puVar22);" (call_expression "(*(code *)PTR_DestroyImageList_003a9510)(puVar22)" (parenthesized_expression "(*(code *)PTR_DestroyImageList_003a9510)" (( "(") (pointer_expression "*(code *)PTR_DestroyImageList_003a9510" (* "*") (cast_expression "(code *)PTR_DestroyImageList_003a9510" (( "(") (type_descriptor "code *" (type_identifier "code") (abstract_pointer_declarator "*" (* "*"))) () ")") (identifier "PTR_DestroyImageList_003a9510"))) () ")")) (argument_list "(puVar22)" (( "(") (identifier "puVar22") () ")"))) (; ";")) (} "}"))) (return_statement "return puVar4;" (return "return") (identifier "puVar4") (; ";")) (} "}")))
(translation_unit (function_definition type: (type_identifier) declarator: (pointer_declarator declarator: (function_declarator declarator: (identifier) parameters: (parameter_list (parameter_declaration type: (primitive_type) declarator: (identifier)) (parameter_declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier)))))) body: (compound_statement (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: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) 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: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (type_identifier) declarator: (identifier)) (declaration type: (type_identifier) declarator: (pointer_declarator declarator: (identifier))) (declaration type: (primitive_type) declarator: (identifier)) (declaration type: (sized_type_specifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (type_identifier) declarator: (array_declarator declarator: (identifier) size: (number_literal))) (declaration type: (primitive_type) 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: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (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)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (return_statement (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (return_statement (identifier)))) (if_statement condition: (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: (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)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (binary_expression left: (identifier) right: (number_literal))))))) (return_statement (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (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) (identifier) (number_literal) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (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: (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))))))) (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))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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))))) (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))))) (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))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_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)))) (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal))) right: (parenthesized_expression (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)) right: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (identifier) right: (number_literal)))))) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (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: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))))) (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 (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: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (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: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) (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 (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (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: (number_literal))) (labeled_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)))) (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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 (binary_expression left: (identifier) right: (number_literal)) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)))))) 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: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier))))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (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: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)) right: (identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (identifier))) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_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: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) 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)))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (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: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_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: (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) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (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) (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: (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 (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))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) right: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (subscript_expression argument: (identifier) index: (number_literal)) (identifier))))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (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: (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: (binary_expression left: (identifier) right: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)) (binary_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))) (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: (binary_expression left: (identifier) right: (identifier)) right: (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: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) consequence: (compound_statement (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (number_literal)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (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))) (do_statement 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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) (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)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier))))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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 (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (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 (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))) (labeled_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)))) (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))) right: (number_literal)))))))))) arguments: (argument_list))))) (return_statement (identifier)))) (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))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (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))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (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 (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (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 (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))) (labeled_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)))) (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (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: (number_literal))) (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) (number_literal) (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (identifier)))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (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: (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: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (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: (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) (identifier) (identifier) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))) (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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) (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (goto_statement label: (statement_identifier)))) (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) (identifier) (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: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) (do_statement 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: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (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: (subscript_expression argument: (identifier) index: (number_literal)))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (number_literal) right: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement 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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (identifier))))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))) right: (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: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (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: (number_literal))) (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) (number_literal) (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (number_literal) (identifier))))) (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: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (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 (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (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: (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) (identifier) (identifier) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))))) (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (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: (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: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (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) (number_literal) (identifier) (subscript_expression argument: (identifier) index: (number_literal)) (number_literal) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (identifier))) right: (identifier)) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (identifier)))) right: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (identifier))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal)))) right: (number_literal))))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (identifier)) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal)))) alternative: (else_clause (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (identifier) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal))))))))) (expression_statement (assignment_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (binary_expression left: (identifier) right: (identifier)) right: (number_literal)))))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (expression_statement (assignment_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal)))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))) right: (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: (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal)))))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (if_statement condition: (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: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (identifier) (identifier) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (break_statement)) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (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: (call_expression function: (parenthesized_expression (identifier)) arguments: (argument_list (binary_expression left: (identifier) right: (identifier)))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (identifier)))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (subscript_expression argument: (identifier) index: (number_literal)))))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (identifier))) (expression_statement (assignment_expression left: (subscript_expression argument: (identifier) index: (number_literal)) right: (number_literal))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (number_literal)))))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))))) alternative: (else_clause (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list)))))) (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: (binary_expression left: (identifier) right: (number_literal)))) (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: (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: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (goto_statement label: (statement_identifier)))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (goto_statement label: (statement_identifier)))) alternative: (else_clause (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))))) (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: (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: (identifier))) (do_statement body: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (do_statement body: (compound_statement (if_statement condition: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (subscript_expression argument: (identifier) index: (number_literal))))) consequence: (compound_statement (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (identifier) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (identifier)) right: (identifier)) right: (binary_expression left: (identifier) right: (number_literal))))))))))))) alternative: (else_clause (compound_statement (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (pointer_expression argument: (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) (identifier) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (identifier) (identifier) (binary_expression left: (identifier) right: (number_literal)))))))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (pointer_expression argument: (identifier)) right: (pointer_expression argument: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (identifier)))) condition: (parenthesized_expression (binary_expression left: (binary_expression left: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))) right: (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (identifier)))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal))))) condition: (parenthesized_expression (binary_expression left: (identifier) right: (identifier)))))))) (expression_statement (assignment_expression left: (identifier) right: (subscript_expression argument: (identifier) index: (number_literal)))) (labeled_statement label: (statement_identifier) (if_statement condition: (parenthesized_expression (binary_expression left: (number_literal) right: (identifier))) consequence: (goto_statement label: (statement_identifier))))))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier))))))))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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))))) (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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (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 (pointer_expression argument: (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) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (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)))) (labeled_statement label: (statement_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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier))) (goto_statement label: (statement_identifier)))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (number_literal))) right: (parenthesized_expression (binary_expression left: (binary_expression left: (parenthesized_expression (binary_expression left: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))))))) right: (number_literal)) right: (cast_expression type: (type_descriptor type: (type_identifier)) value: (subscript_expression argument: (identifier) index: (number_literal))))))) consequence: (goto_statement label: (statement_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) (number_literal) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (parenthesized_expression (binary_expression left: (identifier) 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 (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) (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: (compound_statement (labeled_statement label: (statement_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))))) (goto_statement label: (statement_identifier)))) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (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))))) (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))))) (expression_statement (assignment_expression left: (identifier) right: (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list (identifier) (binary_expression left: (identifier) right: (number_literal)) (cast_expression type: (type_descriptor type: (primitive_type)) value: (parenthesized_expression (binary_expression left: (cast_expression type: (type_descriptor type: (type_identifier)) value: (identifier)) right: (number_literal)))) (cast_expression type: (type_descriptor type: (primitive_type)) value: (identifier)) (identifier))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (number_literal))) consequence: (goto_statement label: (statement_identifier)))) condition: (parenthesized_expression (binary_expression left: (subscript_expression argument: (identifier) index: (number_literal)) 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)))) (labeled_statement label: (statement_identifier) (expression_statement (assignment_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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)))))))) 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) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (number_literal) (number_literal) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal)) (binary_expression left: (identifier) right: (number_literal))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (goto_statement label: (statement_identifier))))))))) (while_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (pointer_expression argument: (cast_expression type: (type_descriptor type: (primitive_type) declarator: (abstract_pointer_declarator)) value: (identifier))))) body: (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))) (labeled_statement label: (statement_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))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (if_statement condition: (parenthesized_expression (binary_expression left: (identifier) right: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (number_literal)))) consequence: (compound_statement (expression_statement (call_expression function: (parenthesized_expression (pointer_expression argument: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (identifier)))) arguments: (argument_list))))) (expression_statement (assignment_expression left: (identifier) right: (binary_expression left: (identifier) right: (number_literal)))) (expression_statement (assignment_expression left: (identifier) right: (number_literal))) (labeled_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)))) (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: (number_literal))) (labeled_statement label: (statement_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) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier) (identifier))))) (expression_statement (assignment_expression left: (identifier) right: (identifier))) (labeled_statement label: (statement_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: (cast_expression type: (type_descriptor type: (type_identifier) declarator: (abstract_pointer_declarator)) value: (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)))))) (return_statement (identifier)))))

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

undefined4 * MASKED(int param_1,int *param_2)

{
  ulonglong uVar1;
  ulonglong uVar2;
  undefined *puVar3;
  undefined4 *puVar4;
  int iVar5;
  undefined4 uVar6;
  uint uVar7;
  uint uVar8;
  uint uVar9;
  uint uVar10;
  int iVar11;
  byte *pbVar12;
  uint uVar13;
  uint uVar14;
  byte *pbVar15;
  byte bVar23;
  undefined *puVar16;
  undefined *puVar17;
  undefined4 uVar18;
  byte *pbVar19;
  double *pdVar20;
  undefined *puVar21;
  undefined4 *puVar22;
  uint uVar24;
  int iVar25;
  int iVar26;
  float *pfVar27;
  float *pfVar28;
  undefined *puVar29;
  byte *pbVar30;
  byte *pbVar31;
  float *pfVar32;
  undefined *puVar33;
  int iVar34;
  int iVar35;
  int iVar36;
  int iVar37;
  uint uVar38;
  uint uVar39;
  byte *pbVar40;
  byte *unaff_s8;
  double dVar41;
  double dVar42;
  double dVar43;
  double dVar44;
  double dVar45;
  longlong lVar46;
  undefined8 uVar47;
  undefined8 uVar48;
  byte *local_1a0;
  int *local_18c;
  int local_188;
  int local_180;
  uint local_17c;
  byte *local_178;
  int local_164;
  short local_158 [6];
  byte local_14c [256];
  int local_4c;
  
  puVar3 = PTR___stack_chk_guard_003a9230;
  local_4c = *(int *)PTR___stack_chk_guard_003a9230;
  if (param_1 == 0) {
    puVar4 = (undefined4 *)
             (*(code *)PTR___assert_fail_003a9608)
                       (PTR_LAB_003a88e0 + 0xd78,
                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcb,
                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);
    return puVar4;
  }
  if (*(int *)(param_1 + 0x3214) != -0x54535255) {
    puVar4 = (undefined4 *)
             (*(code *)PTR___assert_fail_003a9608)
                       (PTR_LAB_003a88e0 + 0xda0,
                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xcc,
                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);
    return puVar4;
  }
  if (*(int *)(param_1 + 0x3210) != 0) {
    (*(code *)PTR_LogMagickEvent_003a91e0)
              (0x8000,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,
               PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xce,
               PTR_s_t_to_left_003a88e4 + -0x62ac,param_1 + 0x2210);
  }
  if (param_2 == (int *)0x0) {
    puVar4 = (undefined4 *)
             (*(code *)PTR___assert_fail_003a9608)
                       (PTR_LAB_003a88e0 + 0x1cac,
                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd0,
                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);
    return puVar4;
  }
  if (param_2[7] != -0x54535255) {
    puVar4 = (undefined4 *)
             (*(code *)PTR___assert_fail_003a9608)
                       (PTR_LAB_003a88e0 + 0x294c,
                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,0xd1,
                        PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25d4);
    return puVar4;
  }
  puVar4 = (undefined4 *)(*(code *)PTR_AcquireImage_003a960c)(param_1,param_2);
  iVar5 = (*(code *)PTR_OpenBlob_003a924c)(param_1,puVar4,2,param_2);
  pbVar12 = unaff_s8;
  if (iVar5 == 0) {
LAB_002a57d0:
    puVar4 = (undefined4 *)(*(code *)PTR_DestroyImageList_003a9510)(puVar4);
    unaff_s8 = pbVar12;
  }
  else {
    iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);
    puVar16 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8;
    if ((iVar5 == 2) && (local_158[0] == 0x52cc)) {
      local_178 = (byte *)0x0;
      local_1a0 = (byte *)0x0;
      dVar43 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5af0);
      dVar44 = *(double *)(PTR_LAB_003a88e0 + 0x1400);
      do {
        uVar6 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);
        puVar17 = PTR_ReadBlobLSBShort_003a96fc;
        puVar4[0x8c] = uVar6;
        uVar6 = (*(code *)puVar17)(puVar4);
        puVar17 = PTR_ReadBlobLSBShort_003a96fc;
        puVar4[0x8d] = uVar6;
        uVar6 = (*(code *)puVar17)(puVar4);
        puVar17 = PTR_ReadBlobLSBShort_003a96fc;
        puVar4[6] = uVar6;
        uVar6 = (*(code *)puVar17)(puVar4);
        puVar17 = PTR_ReadBlobByte_003a97f0;
        puVar4[7] = uVar6;
        uVar7 = (*(code *)puVar17)(puVar4);
        puVar4[0xaf] = uVar7 & 4;
        uVar8 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
        iVar5 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
        uVar9 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
        uVar10 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
        local_18c = param_2;
        local_188 = param_1;
        if (0x15 < (uVar10 & 0xff)) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar6 = 0xee;
LAB_002a6770:
          param_1 = param_1 + 0x2210;
          puVar16 = PTR_LAB_003a88e0 + 0x3e28;
          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
          puVar17 = PTR_s_courses_003a88ec + -400;
          uVar18 = 0x1a9;
          goto LAB_002a5e2c;
        }
        iVar11 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);
        if (iVar11 != 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          param_1 = param_1 + 0x2210;
          uVar6 = 0xf0;
          goto LAB_002a6244;
        }
        uVar24 = 1 << (uVar10 & 0x1f);
        if (((uVar8 & 0xfffffffd) == 0) ||
           ((((uVar7 & 4) != 0 && (0xfb < uVar8 - 3)) || (iVar5 != 8)))) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar6 = 0xf5;
          goto LAB_002a6770;
        }
        if (4 < uVar8) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar6 = 0xf7;
          goto LAB_002a6770;
        }
        if ((0x7ffe < puVar4[6] - 1) || (0x7ffe < puVar4[7] - 1)) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar6 = 0xfa;
          goto LAB_002a6770;
        }
        if ((uVar7 & 2) == 0) {
          pbVar12 = local_14c;
          do {
            pbVar15 = pbVar12 + 1;
            bVar23 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
            *pbVar12 = bVar23;
            pbVar12 = pbVar15;
          } while (local_14c + uVar8 != pbVar15);
        }
        else {
          pbVar12 = local_14c;
          do {
            *pbVar12 = 0;
            pbVar12 = pbVar12 + 1;
          } while (pbVar12 != local_14c + uVar8);
          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
        }
        if ((uVar8 & 1) == 0) {
          (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
        }
        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);
        if (iVar5 != 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          param_1 = param_1 + 0x2210;
          uVar6 = 0x110;
          goto LAB_002a6244;
        }
        uVar38 = uVar8;
        if (puVar4[0xaf] != 0) {
          uVar38 = uVar8 + 1;
        }
        uVar1 = (ulonglong)(uint)puVar4[6] * (ulonglong)(uint)puVar4[7];
        lVar46 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);
        if (lVar46 == 0) {
LAB_002a6a10:
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar6 = 0x116;
LAB_002a6a54:
          param_1 = param_1 + 0x2210;
          puVar16 = PTR_LAB_003a88e0 + 0x3e28;
          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
          puVar17 = PTR_s_courses_003a88ec + 0x4a0;
          uVar18 = 0x1a9;
          goto LAB_002a5e2c;
        }
        local_180 = (int)(uVar1 >> 0x20);
        lVar46 = (ulonglong)uVar38 * (uVar1 & 0xffffffff);
        uVar39 = uVar38 * local_180 + (int)((ulonglong)lVar46 >> 0x20);
        uVar47 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);
        uVar47 = (*(code *)PTR_FUN_003a89c0)
                           (uVar39 & 0x1fffffff,(int)lVar46,(int)((ulonglong)uVar47 >> 0x20),
                            (int)uVar47);
        if (((int)((ulonglong)uVar47 >> 0x20) != 0) || (0xfe < (uint)uVar47)) goto LAB_002a6a10;
        uVar2 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);
        if (uVar2 < (ulonglong)uVar9 * (ulonglong)uVar24) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar6 = 0x118;
          goto LAB_002a6a54;
        }
        if (uVar9 != 0) {
          local_178 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)
                                        (uVar9,3 << (uVar10 & 0x1f));
          if (local_178 == (byte *)0x0) {
            if (local_1a0 != (byte *)0x0) {
              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
            }
            uVar6 = 0x121;
            goto LAB_002a705c;
          }
          (*(code *)PTR_memset_003a96d4)(local_178,0,(uVar9 << (uVar10 & 0x1f)) * 3);
          unaff_s8 = local_178;
          if ((int)uVar9 < 1) {
            uVar8 = 0;
          }
          else {
            dVar45 = *(double *)(PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x5ae8);
            uVar13 = 0;
            do {
              pbVar15 = unaff_s8 + uVar24;
              dVar42 = *(double *)(PTR_LAB_003a88e0 + 0x1410);
              pbVar12 = unaff_s8;
              do {
                unaff_s8 = pbVar12 + 1;
                iVar5 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4);
                puVar17 = PTR_EOFBlob_003a9748;
                if ((float)iVar5 <= 0.0) {
                  bVar23 = 0;
                }
                else if ((double)iVar5 / dVar43 < dVar45) {
                  dVar41 = (double)iVar5 / dVar43 + dVar44;
                  if (dVar41 < dVar42) {
                    bVar23 = (byte)(int)dVar41;
                  }
                  else {
                    bVar23 = (byte)(int)(dVar41 - dVar42);
                  }
                }
                else {
                  bVar23 = 0xff;
                }
                *pbVar12 = bVar23;
                iVar5 = (*(code *)puVar17)(puVar4);
                if (iVar5 != 0) {
                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);
                  if (local_1a0 != (byte *)0x0) {
                    (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
                  }
                  param_1 = param_1 + 0x2210;
                  uVar6 = 299;
                  goto LAB_002a6244;
                }
                pbVar12 = unaff_s8;
              } while (pbVar15 != unaff_s8);
              uVar13 = uVar13 + 1;
              uVar8 = uVar9;
            } while (uVar9 != uVar13);
          }
        }
        pbVar12 = unaff_s8;
        if (((uVar7 & 8) != 0) &&
           (uVar13 = (*(code *)PTR_ReadBlobLSBShort_003a96fc)(puVar4), uVar13 != 0)) {
          unaff_s8 = (byte *)(*(code *)PTR_AcquireQuantumMemory_003a950c)(uVar13,1);
          if (unaff_s8 == (byte *)0x0) {
            if (local_178 != (byte *)0x0) {
              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
            }
            if (local_1a0 != (byte *)0x0) {
              (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
            }
            uVar6 = 0x13e;
            goto LAB_002a705c;
          }
          iVar11 = uVar13 - 1;
          iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,iVar11,unaff_s8);
          puVar17 = PTR_SetImageProperty_003a9534;
          if (iVar11 != iVar5) goto LAB_002a7380;
          puVar29 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x1928;
          unaff_s8[iVar11] = 0;
          (*(code *)puVar17)(puVar4,puVar29,unaff_s8,param_2);
          (*(code *)PTR_DestroyString_003a9074)(unaff_s8);
          pbVar12 = unaff_s8;
          if ((uVar13 & 1) == 0) {
            (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
          }
        }
        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);
        unaff_s8 = pbVar12;
        if (iVar5 != 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          param_1 = param_1 + 0x2210;
          uVar6 = 0x14d;
          goto LAB_002a6244;
        }
        if (((*(int *)(param_1 + 0x1dc) != 0) && (*(int *)(param_1 + 0x2c) != 0)) &&
           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))
        break;
        local_164 = (*(code *)PTR_SetImageExtent_003a94ac)(puVar4,puVar4[6],puVar4[7],param_2);
        if (local_164 == 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          goto LAB_002a57d0;
        }
        uVar14 = uVar38 + 1;
        local_17c = (uint)uVar1;
        uVar13 = uVar38;
        if ((uVar38 & 1) != 0) {
          uVar39 = uVar14 * local_180 + (int)((ulonglong)uVar14 * (uVar1 & 0xffffffff) >> 0x20);
          uVar13 = uVar14;
        }
        if (uVar39 != 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          if (local_1a0 != (byte *)0x0) {
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
          }
          uVar6 = 0x161;
          goto LAB_002a705c;
        }
        uVar39 = 4;
        if (3 < uVar13) {
          uVar39 = uVar13;
        }
        iVar5 = (*(code *)PTR_AcquireVirtualMemory_003a92cc)(puVar4[6],uVar39 * puVar4[7]);
        if (iVar5 == 0) {
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          uVar6 = 0x165;
          goto LAB_002a705c;
        }
        iVar25 = puVar4[7];
        iVar11 = puVar4[6];
        pbVar15 = (byte *)(*(code *)PTR_GetVirtualMemoryBlob_003a8f28)(iVar5);
        (*(code *)PTR_memset_003a96d4)(pbVar15,0,iVar11 * iVar25 * uVar39);
        if ((uVar7 & 3) == 1) {
          uVar7 = 0;
          if ((int)local_17c < 1) {
            uVar8 = 0;
          }
          else {
            pbVar19 = pbVar15;
            do {
              pbVar31 = local_14c;
              pbVar40 = pbVar19;
              if (puVar4[0xaf] == 0) {
                do {
                  pbVar30 = pbVar31 + 1;
                  *pbVar40 = *pbVar31;
                  pbVar31 = pbVar30;
                  pbVar40 = pbVar40 + 1;
                } while (pbVar30 != local_14c + uVar38);
                pbVar31 = pbVar19 + uVar38;
              }
              else {
                if (uVar38 - 1 != 0) {
                  pbVar30 = pbVar19 + (uVar38 - 1);
                  pbVar31 = pbVar19;
                  pbVar40 = local_14c;
                  do {
                    bVar23 = *pbVar40;
                    pbVar19 = pbVar31 + 1;
                    pbVar40 = pbVar40 + 1;
                    *pbVar31 = bVar23;
                    pbVar31 = pbVar19;
                  } while (pbVar30 != pbVar19);
                }
                pbVar31 = pbVar19 + 1;
                *pbVar19 = 0;
              }
              uVar7 = uVar7 + 1;
              pbVar19 = pbVar31;
              uVar8 = local_17c;
            } while (local_17c != uVar7);
          }
        }
        uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
        unaff_s8 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;
        if (uVar7 == 0xffffffff) {
          if (uVar9 != 0) {
            local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);
          }
          if (local_178 != (byte *)0x0) {
            (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
          }
          (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);
          uVar6 = 0x18b;
LAB_002a5df4:
          param_1 = param_1 + 0x2210;
          puVar16 = PTR_LAB_003a88e0 + 0x3e28;
          puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
          puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
          puVar17 = PTR_s_courses_003a88ec + -0x17c;
          uVar18 = 0x1a9;
          unaff_s8 = pbVar12;
          goto LAB_002a5e2c;
        }
        local_1a0 = (byte *)0x0;
        uVar7 = uVar7 & 0x3f;
        do {
          if (uVar7 < 7) {
                    /* WARNING: Could not emulate address calculation at 0x002a5938 */
                    /* WARNING: Treating indirect jump as call */
            puVar4 = (undefined4 *)(*(code *)(&_gp_1 + *(int *)(unaff_s8 + uVar7 * 4 + 0x2590)))();
            return puVar4;
          }
          uVar7 = (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
          puVar17 = PTR_s_pixels_3_def_____currentfile_byt_003a894c;
          if (uVar7 == 0xffffffff) {
            if (local_178 != (byte *)0x0) {
              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
            }
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);
            uVar6 = 0x1fb;
            pbVar12 = unaff_s8;
            goto LAB_002a5df4;
          }
          uVar7 = uVar7 & 0x3f;
        } while (uVar7 != 7);
        if (uVar9 == 0) {
          if (uVar38 < 3) {
            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,0x100,param_2);
            if (iVar11 != 0) goto LAB_002a6328;
LAB_002a725c:
            if (local_178 != (byte *)0x0) {
              (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
            }
            (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);
            uVar6 = 0x246;
LAB_002a705c:
            param_1 = param_1 + 0x2210;
            puVar16 = PTR_LAB_003a88e0 + 0x3e28;
            puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
            puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
            puVar17 = PTR_LAB_003a88e0 + 0x16f8;
            uVar18 = 400;
            goto LAB_002a5e2c;
          }
          if (0 < (int)puVar4[7]) {
LAB_002a5be0:
            iVar11 = 0;
            dVar45 = *(double *)(puVar16 + -0x5af0);
            puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;
            uVar8 = 0;
            do {
              iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)
                                 (puVar4,0,uVar8,puVar4[6],1,param_2);
              if (iVar25 == 0) break;
              iVar35 = puVar4[6];
              iVar34 = 0;
              if (0 < iVar35) {
                iVar36 = puVar4[0xb4];
                iVar26 = puVar4[0xb0];
                iVar37 = puVar4[0xaf];
                pfVar32 = (float *)(iVar25 + *(int *)(iVar36 + 8) * 4);
                pfVar28 = (float *)(iVar25 + *(int *)(iVar36 + 0x14) * 4);
                pfVar27 = (float *)(iVar25 + *(int *)(iVar36 + 0x20) * 4);
                pbVar12 = pbVar15;
                do {
                  *pfVar32 = (float)((double)*pbVar12 * dVar45);
                  *pfVar28 = (float)((double)pbVar12[1] * dVar45);
                  *pfVar27 = (float)((double)pbVar12[2] * dVar45);
                  if (iVar37 == 0) {
                    pbVar15 = pbVar12 + 3;
                  }
                  else {
                    pbVar15 = pbVar12 + 4;
                    if (*(int *)(iVar36 + 0x34) != 0) {
                      *(float *)(iVar25 + *(int *)(iVar36 + 0x38) * 4) =
                           (float)((double)pbVar12[3] * dVar45);
                    }
                  }
                  iVar34 = iVar34 + 1;
                  iVar25 = iVar25 + iVar26 * 4;
                  pfVar32 = pfVar32 + iVar26;
                  pfVar28 = pfVar28 + iVar26;
                  pfVar27 = pfVar27 + iVar26;
                  pbVar12 = pbVar15;
                } while (iVar34 != iVar35);
              }
              iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);
              if (iVar25 == 0) break;
              iVar25 = puVar4[7];
              if (puVar4[0xcd9] == 0) {
                local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)
                                      (puVar4,puVar17,iVar11,uVar8,0,iVar25);
                if (local_164 == 0) break;
                iVar25 = puVar4[7];
              }
              uVar7 = uVar8 + 1;
              iVar11 = (uint)(uVar7 < uVar8) + iVar11;
              uVar8 = uVar7;
            } while ((int)uVar7 < iVar25);
            goto LAB_002a5fb4;
          }
        }
        else {
          if (uVar9 == 1) {
            if (0 < (int)local_17c) {
              puVar21 = PTR_LAB_003a88e0 + 0x3e28;
              puVar29 = PTR_s_courses_003a88ec + 0x6f4;
              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;
              pbVar12 = pbVar15;
              do {
                uVar8 = (uint)*pbVar12 & uVar24 - 1;
                if ((int)uVar8 < (int)puVar4[9]) {
                  pbVar19 = local_178 + (int)(float)uVar8;
                }
                else {
                  pbVar19 = local_178;
                  if (*param_2 != 0x1a9) {
                    (*(code *)PTR_ThrowMagickException_003a8f20)
                              (param_2,puVar29,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar21,
                               puVar4 + 0xd0);
                  }
                }
                pbVar31 = pbVar12 + 1;
                *pbVar12 = *pbVar19;
                pbVar12 = pbVar31;
                unaff_s8 = puVar17;
                local_1a0 = pbVar15;
              } while (pbVar31 != pbVar15 + local_17c);
            }
            if (2 < uVar38) {
              iVar11 = puVar4[7];
              goto LAB_002a5bd4;
            }
LAB_002a6aa4:
            iVar11 = (*(code *)PTR_AcquireImageColormap_003a9194)(puVar4,uVar24,param_2);
            if (iVar11 == 0) goto LAB_002a725c;
            if (uVar9 == 1) {
              uVar8 = puVar4[9];
              if ((int)uVar8 < 1) goto LAB_002a6328;
              uVar7 = 0;
              dVar45 = *(double *)(puVar16 + -0x5af0);
              pdVar20 = (double *)(puVar4[10] + 0x28);
              do {
                uVar10 = uVar7 & 0xff;
                uVar7 = uVar7 + 1;
                dVar42 = (double)(float)((double)uVar10 * dVar45);
                *pdVar20 = dVar42;
                pdVar20[1] = dVar42;
                pdVar20[2] = dVar42;
                pdVar20 = pdVar20 + 0xb;
              } while (uVar8 != uVar7);
              iVar11 = puVar4[0xaf];
            }
            else {
              iVar11 = puVar4[9];
              if (iVar11 < 1) {
LAB_002a6328:
                iVar11 = puVar4[0xaf];
              }
              else {
                dVar45 = *(double *)(puVar16 + -0x5af0);
                pdVar20 = (double *)(puVar4[10] + 0x28);
                pbVar12 = local_178 + uVar24;
                pbVar19 = local_178 + (2 << (uVar10 & 0x1f));
                pbVar31 = local_178;
                do {
                  bVar23 = *pbVar31;
                  pbVar40 = pbVar12 + 1;
                  pbVar31 = pbVar31 + 1;
                  *pdVar20 = (double)(float)((double)bVar23 * dVar45);
                  pdVar20[1] = (double)(float)((double)*pbVar12 * dVar45);
                  pdVar20[2] = (double)(float)((double)*pbVar19 * dVar45);
                  pdVar20 = pdVar20 + 0xb;
                  pbVar12 = pbVar40;
                  pbVar19 = pbVar19 + 1;
                } while (pbVar40 != local_178 + iVar11 + uVar24);
                iVar11 = puVar4[0xaf];
              }
            }
            puVar17 = PTR_s_t_to_left_003a88e4;
            if (iVar11 == 0) {
              if (0 < (int)puVar4[7]) {
                iVar11 = 0;
                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x2dd0;
                uVar8 = 0;
                do {
                  iVar25 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)
                                     (puVar4,0,uVar8,puVar4[6],1,param_2);
                  if (iVar25 == 0) break;
                  pbVar12 = pbVar15 + puVar4[6];
                  if (0 < (int)puVar4[6]) {
                    iVar26 = puVar4[0xb4];
                    iVar34 = puVar4[0xb0];
                    iVar35 = *(int *)(iVar26 + 0x40);
                    pbVar19 = pbVar15;
                    do {
                      pbVar15 = pbVar19 + 1;
                      if (iVar35 != 0) {
                        *(float *)(iVar25 + *(int *)(iVar26 + 0x44) * 4) = (float)*pbVar19;
                      }
                      iVar25 = iVar25 + iVar34 * 4;
                      pbVar19 = pbVar15;
                    } while (pbVar12 != pbVar15);
                  }
                  iVar25 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);
                  if (iVar25 == 0) break;
                  iVar25 = puVar4[7];
                  if (puVar4[0xcd9] == 0) {
                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)
                                          (puVar4,puVar17,iVar11,uVar8,0,iVar25);
                    if (local_164 == 0) break;
                    iVar25 = puVar4[7];
                  }
                  uVar7 = uVar8 + 1;
                  iVar11 = (uint)(uVar7 < uVar8) + iVar11;
                  uVar8 = uVar7;
                } while ((int)uVar7 < iVar25);
              }
              (*(code *)PTR_SyncImage_003a8d84)(puVar4,param_2);
            }
            else {
              if (0 < (int)puVar4[7]) {
                dVar45 = *(double *)(puVar16 + -0x5af0);
                puVar33 = PTR_LAB_003a88e0 + 0x3e28;
                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25ac;
                local_1a0 = (byte *)0x0;
                uVar8 = 0;
                unaff_s8 = pbVar15;
                do {
                  iVar11 = (*(code *)PTR_QueueAuthenticPixels_003a8f24)
                                     (puVar4,0,uVar8,puVar4[6],1,param_2);
                  puVar21 = PTR_s_courses_003a88ec;
                  if (iVar11 == 0) break;
                  if (0 < (int)puVar4[6]) {
                    iVar25 = 0;
                    pbVar12 = unaff_s8;
                    do {
                      iVar34 = puVar4[9];
                      if ((int)(uint)*pbVar12 < iVar34) {
                        iVar35 = (int)(float)*pbVar12 * 0x58;
                      }
                      else if (*param_2 == 0x1a9) {
                        iVar35 = 0;
                      }
                      else {
                        (*(code *)PTR_ThrowMagickException_003a8f20)
                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,
                                   puVar33,puVar4 + 0xd0);
                        iVar35 = 0;
                        iVar34 = puVar4[9];
                      }
                      iVar26 = puVar4[10];
                      iVar36 = puVar4[0xb4];
                      *(float *)(iVar11 + *(int *)(iVar36 + 8) * 4) =
                           (float)*(double *)(iVar26 + iVar35 + 0x28);
                      if ((int)(uint)pbVar12[1] < iVar34) {
                        iVar35 = (int)(float)pbVar12[1] * 0x58;
                      }
                      else if (*param_2 == 0x1a9) {
                        iVar35 = 0;
                      }
                      else {
                        (*(code *)PTR_ThrowMagickException_003a8f20)
                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,
                                   puVar33,puVar4 + 0xd0);
                        iVar35 = 0;
                        iVar26 = puVar4[10];
                        iVar34 = puVar4[9];
                        iVar36 = puVar4[0xb4];
                      }
                      *(float *)(iVar11 + *(int *)(iVar36 + 0x14) * 4) =
                           (float)*(double *)(iVar26 + iVar35 + 0x30);
                      if ((int)(uint)pbVar12[2] < iVar34) {
                        iVar34 = (int)(float)pbVar12[2] * 0x58;
                      }
                      else if (*param_2 == 0x1a9) {
                        iVar34 = 0;
                      }
                      else {
                        (*(code *)PTR_ThrowMagickException_003a8f20)
                                  (param_2,puVar21 + 0x6f4,puVar29,0x30,0x1a9,puVar17 + -0x5990,
                                   puVar33,puVar4 + 0xd0);
                        iVar34 = 0;
                        iVar26 = puVar4[10];
                        iVar36 = puVar4[0xb4];
                      }
                      iVar35 = *(int *)(iVar36 + 0x34);
                      unaff_s8 = pbVar12 + 4;
                      *(float *)(iVar11 + *(int *)(iVar36 + 0x20) * 4) =
                           (float)*(double *)(iVar26 + iVar34 + 0x38);
                      if (iVar35 != 0) {
                        *(float *)(iVar11 + *(int *)(iVar36 + 0x38) * 4) =
                             (float)((double)pbVar12[3] * dVar45);
                      }
                      iVar25 = iVar25 + 1;
                      iVar11 = iVar11 + puVar4[0xb0] * 4;
                      pbVar12 = unaff_s8;
                    } while (iVar25 < (int)puVar4[6]);
                  }
                  iVar11 = (*(code *)PTR_SyncAuthenticPixels_003a91e4)(puVar4,param_2);
                  if (iVar11 == 0) break;
                  iVar11 = puVar4[7];
                  if (puVar4[0xcd9] == 0) {
                    local_164 = (*(code *)PTR_SetImageProgress_003a8cb4)
                                          (puVar4,PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 +
                                                  -0x2dd0,local_1a0,uVar8,0,iVar11);
                    if (local_164 == 0) break;
                    iVar11 = puVar4[7];
                  }
                  uVar7 = uVar8 + 1;
                  local_1a0 = (byte *)((uint)(uVar7 < uVar8) + (int)local_1a0);
                  uVar8 = uVar7;
                } while ((int)uVar7 < iVar11);
              }
              uVar6 = (*(code *)PTR_RelinquishMagickMemory_003a8fc0)(puVar4[10]);
              puVar4[10] = uVar6;
              puVar4[9] = 0;
              *puVar4 = 1;
            }
LAB_002a5fb4:
            if (uVar9 == 0) goto LAB_002a5fc4;
          }
          else {
            if (uVar38 < 3) {
              if ((int)uVar8 < (int)local_17c) {
LAB_002a74c4:
                if (local_178 != (byte *)0x0) {
                  (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
                }
                (*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);
                param_1 = param_1 + 0x2210;
                uVar6 = 0x21a;
                puVar16 = PTR_LAB_003a88e0 + 0x3e28;
                puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
                puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
                puVar17 = PTR_s_ls_0__dGridFitTT_2__sPDFPassword_003a88e8 + -0x18cc;
                uVar18 = 0x1a9;
                goto LAB_002a5e2c;
              }
              goto LAB_002a6aa4;
            }
            if (uVar9 == 2) {
              if ((int)uVar8 < (int)local_17c) goto LAB_002a74c4;
            }
            else if (0 < (int)local_17c) {
              uVar8 = 1;
              if (0 < (int)uVar38) {
                uVar8 = uVar38;
              }
              uVar7 = 0;
              puVar29 = PTR_LAB_003a88e0 + 0x3e28;
              puVar33 = PTR_s_t_to_left_003a88e4 + -0x5990;
              puVar21 = PTR_s_courses_003a88ec + 0x6f4;
              pbVar12 = pbVar15;
              do {
                unaff_s8 = (byte *)0x0;
                pbVar19 = pbVar12;
                do {
                  if ((int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1)) < (int)puVar4[9]) {
                    pbVar31 = local_178 +
                              (int)(float)(int)(unaff_s8 + ((uint)*pbVar19 & uVar24 - 1));
                  }
                  else {
                    pbVar31 = local_178;
                    if (*param_2 != 0x1a9) {
                      (*(code *)PTR_ThrowMagickException_003a8f20)
                                (param_2,puVar21,puVar17 + 0x25ac,0x30,0x1a9,puVar33,puVar29,
                                 puVar4 + 0xd0);
                    }
                  }
                  pbVar40 = pbVar19 + 1;
                  *pbVar19 = *pbVar31;
                  unaff_s8 = unaff_s8 + uVar24;
                  pbVar19 = pbVar40;
                } while ((int)pbVar40 - (int)pbVar12 < (int)uVar38);
                pbVar12 = pbVar12 + uVar8;
                uVar7 = uVar7 + 1;
              } while (uVar7 != local_17c);
            }
            iVar11 = puVar4[7];
LAB_002a5bd4:
            if (0 < iVar11) goto LAB_002a5be0;
          }
          local_178 = (byte *)(*(code *)PTR_RelinquishMagickMemory_003a8fc0)(local_178);
        }
LAB_002a5fc4:
        local_1a0 = (byte *)(*(code *)PTR_RelinquishVirtualMemory_003a9398)(iVar5);
        iVar5 = (*(code *)PTR_EOFBlob_003a9748)(puVar4);
        pbVar12 = unaff_s8;
        if (iVar5 != 0) {
          puVar22 = (undefined4 *)(*(code *)PTR___errno_location_003a99b0)();
          uVar6 = (*(code *)PTR_GetExceptionMessage_003a93ec)(*puVar22);
          (*(code *)PTR_ThrowMagickException_003a8f20)
                    (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,
                     PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0x2ad,0x1a9,
                     PTR_s_courses_003a88ec + -0x17c,PTR_LAB_003a88e0 + 0xe78,puVar4 + 0xd0,uVar6);
          (*(code *)PTR_DestroyString_003a9074)(uVar6);
LAB_002a6040:
          (*(code *)PTR_CloseBlob_003a9688)(puVar4);
          if (local_164 != 0) goto LAB_002a56b8;
          goto LAB_002a57d0;
        }
        if ((*(int *)(param_1 + 0x2c) != 0) &&
           ((*(int *)(param_1 + 0x2c) + *(int *)(param_1 + 0x28)) - 1U <= (uint)puVar4[0x9b]))
        goto LAB_002a6040;
        (*(code *)PTR_ReadBlobByte_003a97f0)(puVar4);
        iVar5 = (*(code *)PTR_ReadBlob_003a8dac)(puVar4,2,local_158);
        if ((iVar5 == 0) || (local_158[0] != 0x52cc)) goto LAB_002a6040;
        (*(code *)PTR_AcquireNextImage_003a8f90)(param_1,puVar4,param_2);
        iVar5 = (*(code *)PTR_GetNextImageInList_003a9470)(puVar4);
        if (iVar5 == 0) {
LAB_002a74b0:
          (*(code *)PTR_CloseBlob_003a9688)(puVar4);
          goto LAB_002a57d0;
        }
        puVar4 = (undefined4 *)(*(code *)PTR_SyncNextImageInList_003a9408)(puVar4);
        uVar47 = (*(code *)PTR_TellBlob_003a931c)(puVar4);
        uVar48 = (*(code *)PTR_GetBlobSize_003a94b8)(puVar4);
        iVar5 = (*(code *)PTR_SetImageProgress_003a8cb4)
                          (puVar4,PTR_s_courses_003a88ec + -0x168,(int)((ulonglong)uVar47 >> 0x20),
                           (int)uVar47,uVar48);
        if (iVar5 == 0) goto LAB_002a74b0;
      } while (local_158[0] == 0x52cc);
      (*(code *)PTR_CloseBlob_003a9688)(puVar4);
LAB_002a56b8:
      puVar4 = (undefined4 *)(*(code *)PTR_GetFirstImageInList_003a944c)(puVar4);
    }
    else {
      (*(code *)PTR_ThrowMagickException_003a8f20)
                (param_2,PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560,
                 PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4,0xdd,0x1a9,
                 PTR_s_courses_003a88ec + -400,PTR_LAB_003a88e0 + 0x3e28,param_1 + 0x2210);
      puVar22 = puVar4;
      if (puVar4 != (undefined4 *)0x0) goto LAB_002a5728;
    }
  }
  while (local_4c != *(int *)puVar3) {
    (*(code *)PTR___stack_chk_fail_003a9064)();
LAB_002a7380:
    (*(code *)PTR_DestroyString_003a9074)(unaff_s8);
    if (local_178 != (byte *)0x0) {
      (*(code *)PTR_RelinquishMagickMemory_003a8fc0)();
    }
    if (local_1a0 != (byte *)0x0) {
      (*(code *)PTR_RelinquishVirtualMemory_003a9398)();
    }
    param_1 = local_188 + 0x2210;
    uVar6 = 0x143;
LAB_002a6244:
    puVar16 = PTR_LAB_003a88e0 + 0x3e28;
    puVar33 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x25c4;
    puVar29 = PTR_s_pixels_3_def_____currentfile_byt_003a894c + 0x2560;
    puVar17 = PTR_s_courses_003a88ec + -0x17c;
    uVar18 = 0x1a9;
LAB_002a5e2c:
    (*(code *)PTR_ThrowMagickException_003a8f20)
              (local_18c,puVar29,puVar33,uVar6,uVar18,puVar17,puVar16,param_1);
    puVar22 = puVar4;
LAB_002a5728:
    (*(code *)PTR_CloseBlob_003a9688)(puVar22);
    puVar4 = (undefined4 *)0x0;
    (*(code *)PTR_DestroyImageList_003a9510)(puVar22);
  }
  return puVar4;
}

